Class SkinStorage
  
  Class attaches properties for work with skins.
    Inheritance
    System.Object
    SkinStorage
      
   
  
  Assembly: Syncfusion.Shared.WPF.dll
  Syntax
  
    public class SkinStorage : DependencyObject
   
  Constructors
  
  
  
  
  SkinStorage()
  
  
  Declaration
  
  Fields
  
  
  
  EnableOptimizationProperty
  
  
  Declaration
  
    public static readonly DependencyProperty EnableOptimizationProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  EnableTouchProperty
  
  
  Declaration
  
    public static readonly DependencyProperty EnableTouchProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroBackgroundBrushProperty
  
  
  Declaration
  
    public static readonly DependencyProperty MetroBackgroundBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroBorderBrushProperty
  
  
  Declaration
  
    public static readonly DependencyProperty MetroBorderBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroBrushProperty
  Attached proeprty used to customize Metro Theme SelectedBrush
Declaration
  
    public static readonly DependencyProperty MetroBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroFocusedBorderBrushProperty
  
  
  Declaration
  
    public static readonly DependencyProperty MetroFocusedBorderBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroFontFamilyProperty
  
  
  Declaration
  
    public static readonly DependencyProperty MetroFontFamilyProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroForegroundBrushProperty
  Attached proeprty used to customize MetroThemeForegroundBrush
Declaration
  
    public static readonly DependencyProperty MetroForegroundBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroHighlightedForegroundBrushProperty
  
  
  Declaration
  
    public static readonly DependencyProperty MetroHighlightedForegroundBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroHoverBrushProperty
  Attached proeprty used to customize MetroThemeHoverBrush
Declaration
  
    public static readonly DependencyProperty MetroHoverBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  MetroPanelBackgroundBrushProperty
  
  
  Declaration
  
    public static readonly DependencyProperty MetroPanelBackgroundBrushProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  OverrideVisualStyleProperty
  
  
  Declaration
  
    public static readonly DependencyProperty OverrideVisualStyleProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  
  
  VisualStyleProperty
  
  
  Declaration
  
    public static readonly DependencyProperty VisualStyleProperty
   
  Field Value
  
    
      
        | Type | 
    
    
      
        | System.Windows.DependencyProperty | 
    
  
  Properties
  
  
  
  
  IsThemeChangeNotNeeded
  
  
  Declaration
  
    public static bool IsThemeChangeNotNeeded { get; set; }
   
  Property Value
  
  Methods
  
  
  
  
  GetEnableOptimization(DependencyObject)
  
  
  Declaration
  
    public static bool GetEnableOptimization(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
  
  
  
  GetEnableTouch(DependencyObject)
  
  
  Declaration
  
    public static bool GetEnableTouch(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
  
  
  
  GetMetroBackgroundBrush(DependencyObject)
  
  
  Declaration
  
    public static Brush GetMetroBackgroundBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroBorderBrush(DependencyObject)
  
  
  Declaration
  
    public static Brush GetMetroBorderBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroBrush(DependencyObject)
  Get MetroTheme Selected Brush
Declaration
  
    public static Brush GetMetroBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroFocusedBorderBrush(DependencyObject)
  
  
  Declaration
  
    public static Brush GetMetroFocusedBorderBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroFontFamily(DependencyObject)
  
  
  Declaration
  
    public static FontFamily GetMetroFontFamily(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.FontFamily | 
    
  
  
  
  
  GetMetroForegroundBrush(DependencyObject)
  Get MetroThemeForegroundBrush
Declaration
  
    public static Brush GetMetroForegroundBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroHighlightedForegroundBrush(DependencyObject)
  
  
  Declaration
  
    public static Brush GetMetroHighlightedForegroundBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroHoverBrush(DependencyObject)
  
  
  Declaration
  
    public static Brush GetMetroHoverBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetMetroPanelBackgroundBrush(DependencyObject)
  
  
  Declaration
  
    public static Brush GetMetroPanelBackgroundBrush(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  Returns
  
    
      
        | Type | 
    
    
      
        | System.Windows.Media.Brush | 
    
  
  
  
  
  GetOverrideVisualStyle(DependencyObject)
  Gets the flag which indicates overriding visual style from given object.
Declaration
  
    public static bool GetOverrideVisualStyle(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj | Given object. | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean | System.String value that represents current skin name of given object. | 
    
  
  
  
  
  GetVisualStyle(DependencyObject)
  Gets current skin name from given object.
Declaration
  
    public static string GetVisualStyle(DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj | Given object. | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.String | System.String value that represents current skin name of given object. | 
    
  
  
  
  
  MergeMetroBrush(ResourceDictionary, DependencyObject)
  
  
  Declaration
  
    public static void MergeMetroBrush(ResourceDictionary metroskindictionary, DependencyObject obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.ResourceDictionary | metroskindictionary |  | 
      
        | System.Windows.DependencyObject | obj |  | 
    
  
  
  
  
  SetEnableOptimization(DependencyObject, Boolean)
  
  
  Declaration
  
    public static void SetEnableOptimization(DependencyObject obj, bool value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Boolean | value |  | 
    
  
  
  
  
  SetEnableTouch(DependencyObject, Boolean)
  
  
  Declaration
  
    public static void SetEnableTouch(DependencyObject obj, bool value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Boolean | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroBackgroundBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroBorderBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  Set Metro Theme SelectedBrush
Declaration
  
    public static void SetMetroBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroFocusedBorderBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroFontFamily(DependencyObject obj, FontFamily value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.FontFamily | value |  | 
    
  
  
  
  
  
  Set Metro Theme ForegroundBrush
Declaration
  
    public static void SetMetroForegroundBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroHighlightedForegroundBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroHoverBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public static void SetMetroPanelBackgroundBrush(DependencyObject obj, Brush value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj |  | 
      
        | System.Windows.Media.Brush | value |  | 
    
  
  
  
  
  SetOverrideVisualStyle(DependencyObject, Boolean)
  Sets the flag which indicates overriding visual style for given object.
Declaration
  
    public static void SetOverrideVisualStyle(DependencyObject obj, bool value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj | Given object. | 
      
        | System.Boolean | value | New skin name. | 
    
  
  
  
  
  SetVisualStyle(DependencyObject, String)
  Sets new skin name for given object.
Declaration
  
    public static void SetVisualStyle(DependencyObject obj, string value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Windows.DependencyObject | obj | Given object. | 
      
        | System.String | value | New skin name. |