Allow Styles to be set by variable for expressions etc.

By Scott Warner on 25 Jul 2010
I would like to set and modify styles from a variable.  
Pedro Barreto30 Jul 2010
This is a must have to create more visual appealing applications.
Goncalo Borrega23 Sep 2014
Hi guys,
You can do that by using an Extended Property (instead of the Style property) on the element you want to change. 
Just use "style" or "class" as the name of the extended property, and in the value type any expression you want.

if you set "class", that will override what the platform renders as the "class" html property of the element, so rememeber to add there the values you had on the Style property. If you use style, it will be added and take precedence over what is rendered by the platform.

Unlimited possibilities.
Jeffrey Kesselman20 Nov (3 weeks ago)

Could someone explain how we add custom classes in studio 10 so we can use them in this manner?