Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / C1Window Class / ThemeResources Property

In This Topic
    ThemeResources Property (C1Window)
    In This Topic
    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 ResourceDictionary
    public static ResourceDictionary ThemeResources {get; set;}
    Example
    C1Window.ThemeResources = myTheme.GetNewResourceDictionary();
    See Also