ComponentOne Basic Library for WPF and Silverlight
ThemeResources Property (C1Window)


C1.Silverlight Namespace > C1Window Class : ThemeResources Property
ResourceDictionary that is applied to the C1Window. Typically used with a copy of a C1Theme used somewhere in the app because in Silverlight, themes are not propagated automatically through un-parented System.Windows.Controls.Primitives.Popup .
Syntax
'Declaration
 
Public Shared Property ThemeResources As System.Windows.ResourceDictionary
'Usage
 
Dim value As System.Windows.ResourceDictionary
 
C1Window.ThemeResources = value
 
value = C1Window.ThemeResources
public static System.Windows.ResourceDictionary ThemeResources {get; set;}
Example
C1Window.ThemeResources = myTheme.GetNewResourceDictionary();
See Also

Reference

C1Window Class
C1Window Members