1. By using Themes, not only style properties can be defined, but also many properties of a control or page can be defined.
For example, using themes, you can specify the graphics for a TreeView control, the template layout of a GridView control, and so on.
2. Graphics can also be included in Themes.
3. Themes will not cascade the way style sheets do. By default, any property values defined in a theme referenced by a page's Theme property override the property values declaratively set on a control, unless you explicitly apply the theme using the StyleSheetTheme property.
4. You cannot apply multiple themes to a page, unlike style sheets where multiple style sheets can be applied. Only one theme can be applied to each page.
Asked In: Many Interviews |