Share on Google+Share on Google+

Style in Flex4

Ads
In this section you will introduce to applying style to controls. You can change the appearance of components using style properties.

Style in Flex4:

In this section you will introduce to applying style to controls. You can change the appearance of components using style properties. If you set the style of the parent container it may be inherited by its children. It means you can set the style once and then apply that style to all controls of a single type.
You can provide the property value in three format:

1. Length
2. Color
3. Time

There are many ways to apply styles in flex. They are following:

1. External style sheets
2. Local style sheets
3. Using StyleManager class
4. getStyle() and setStyle() method
5. Inline Style
6. Setting global styles

Advertisements

Posted on: June 21, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Advertisement