ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1Window Class / ThemeResources Property



In This Topic
    ThemeResources Property
    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
    'Usage
     
    
    Dim value As ResourceDictionary
     
    C1Window.ThemeResources = value
     
    value = C1Window.ThemeResources
    public static ResourceDictionary ThemeResources {get; set;}
    public:
    static property ResourceDictionary^ ThemeResources {
       ResourceDictionary^ get();
       void set (    ResourceDictionary^ value);
    }
    Example
    C1Window.ThemeResources = myTheme.GetNewResourceDictionary();
    See Also