In Flex, every component provides a set of properties that can be categorized into Properties, Methods, Events, and Styles. In this section, what we are interested in is the last category of properties—Styles. To read about styles that every component provides you, open the Flex language reference from your Flex Builder by pressing the shortcut key Shift+F2, or by choosing the Help | Find in Language Reference menu item and opening the documentation for the Label
class. You can find the Styles category on top of the page. Click on it to navigate to the Style section of the Label
class as shown in the following screenshot:
The Styles section lists all the styles and inherited styles that are supported by this component. You can use these individual style properties, such as color, fontSize, fontStyle
, and so on, to customize specific appearance of your components.
You can also access a component's style properties from Flex Builder in the Flex Properties view. Make sure...