Theme and StyleSheetTheme

Theme and StyleSheetTheme Precedence

A StyleSheetTheme is meant to be applied during application development, as a means to factor our style information from pages in order to keep the behavior of the application separately maintainable from the look-and-feel of the application. You may still want to apply Themes to an application with a StyleSheetTheme applied. If both a Theme and StyleSheetTheme are applied to an application, the properties of controls are applied in the the following order:
  • StyleSheetTheme properties are applied first
  • Control properties in the page are applied (overrides StyleSheetTheme)
  • Theme properties are applied last (overriding both control properties and the StyleSheetTheme)

应用次序
    StyleSheetTheme  < 控件Style < Theme

posted @ 2007-05-16 23:08  班子  阅读(471)  评论(0)    收藏  举报
我要啦免费统计