• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Using Components > Styles, Skinning, and Themes

Styles, Skinning, and Themes

Components are cool, but customizing components by changing their look is really very useful. It’s possible to modify a component’s default graphics, colors, fonts, and general look through styles, skins, and themes. All the underlying code is unaffected when you make a change.

A style is a single attribute for a component (such as the font or font color). Skinning is just the process of replacing or adding the graphics used by the component. Finally, a theme (of which there are only two right now) is a collection of various skins that work together for an overall look. For example, changing a style can be as simple as changing a button’s font to Courier. Skinning a CheckBox can mean replacing the check mark with an “x” graphic (which we’ll do). Making a theme involves identifying all the visual attributes: maybe specifying Courier font but also that all highlights appear in gray and all corners are sharp edged.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint