setting properties at runtime from xml or css
Thaylin | March 9, 2011
Mainly this is just a post to remind myself in later times about this code snippet but basically this will work with any class with accessible variables.
Take an xml node such as
?View Code XML1
<class id="myClass" color="#FF0000" isActive="false"/>
You can use this snippet to parse through those attributes to set all of your variables for you assuming [...]