WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SkinStorage

    Show / Hide Table of Contents

    Class SkinStorage

    Class attaches properties for work with skins.

    Inheritance
    System.Object
    SkinStorage
    SkinColorScheme
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class SkinStorage : DependencyObject

    Constructors

    SkinStorage()

    Declaration
    public SkinStorage()

    Fields

    EnableOptimizationProperty

    Declaration
    public static readonly DependencyProperty EnableOptimizationProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    EnableTouchProperty

    Declaration
    public static readonly DependencyProperty EnableTouchProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroBackgroundBrushProperty

    Declaration
    public static readonly DependencyProperty MetroBackgroundBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroBorderBrushProperty

    Declaration
    public static readonly DependencyProperty MetroBorderBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroBrushProperty

    Attached proeprty used to customize Metro Theme SelectedBrush

    Declaration
    public static readonly DependencyProperty MetroBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroFocusedBorderBrushProperty

    Declaration
    public static readonly DependencyProperty MetroFocusedBorderBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroFontFamilyProperty

    Declaration
    public static readonly DependencyProperty MetroFontFamilyProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroForegroundBrushProperty

    Attached proeprty used to customize MetroThemeForegroundBrush

    Declaration
    public static readonly DependencyProperty MetroForegroundBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroHighlightedForegroundBrushProperty

    Declaration
    public static readonly DependencyProperty MetroHighlightedForegroundBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroHoverBrushProperty

    Attached proeprty used to customize MetroThemeHoverBrush

    Declaration
    public static readonly DependencyProperty MetroHoverBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MetroPanelBackgroundBrushProperty

    Declaration
    public static readonly DependencyProperty MetroPanelBackgroundBrushProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    OverrideVisualStyleProperty

    Identifies OverrideVisualStyleProperty dependency attached property.

    Declaration
    public static readonly DependencyProperty OverrideVisualStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    VisualStyleProperty

    Identifies VisualStyleProperty dependency attached property.

    Declaration
    public static readonly DependencyProperty VisualStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    IsThemeChangeNotNeeded

    Declaration
    public static bool IsThemeChangeNotNeeded { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    GetEnableOptimization(DependencyObject)

    Declaration
    public static bool GetEnableOptimization(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Boolean

    GetEnableTouch(DependencyObject)

    Declaration
    public static bool GetEnableTouch(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Boolean

    GetMetroBackgroundBrush(DependencyObject)

    Declaration
    public static Brush GetMetroBackgroundBrush(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Windows.Media.Brush

    GetMetroBorderBrush(DependencyObject)

    Declaration
    public static Brush GetMetroBorderBrush(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    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 Description
    System.Windows.Media.Brush

    GetMetroFocusedBorderBrush(DependencyObject)

    Declaration
    public static Brush GetMetroFocusedBorderBrush(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Windows.Media.Brush

    GetMetroFontFamily(DependencyObject)

    Declaration
    public static FontFamily GetMetroFontFamily(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    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 Description
    System.Windows.Media.Brush

    GetMetroHighlightedForegroundBrush(DependencyObject)

    Declaration
    public static Brush GetMetroHighlightedForegroundBrush(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Windows.Media.Brush

    GetMetroHoverBrush(DependencyObject)

    Declaration
    public static Brush GetMetroHoverBrush(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Windows.Media.Brush

    GetMetroPanelBackgroundBrush(DependencyObject)

    Declaration
    public static Brush GetMetroPanelBackgroundBrush(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    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

    SetMetroBackgroundBrush(DependencyObject, Brush)

    Declaration
    public static void SetMetroBackgroundBrush(DependencyObject obj, Brush value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.Brush value

    SetMetroBorderBrush(DependencyObject, Brush)

    Declaration
    public static void SetMetroBorderBrush(DependencyObject obj, Brush value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.Brush value

    SetMetroBrush(DependencyObject, Brush)

    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

    SetMetroFocusedBorderBrush(DependencyObject, Brush)

    Declaration
    public static void SetMetroFocusedBorderBrush(DependencyObject obj, Brush value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.Brush value

    SetMetroFontFamily(DependencyObject, FontFamily)

    Declaration
    public static void SetMetroFontFamily(DependencyObject obj, FontFamily value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.FontFamily value

    SetMetroForegroundBrush(DependencyObject, Brush)

    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

    SetMetroHighlightedForegroundBrush(DependencyObject, Brush)

    Declaration
    public static void SetMetroHighlightedForegroundBrush(DependencyObject obj, Brush value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.Brush value

    SetMetroHoverBrush(DependencyObject, Brush)

    Declaration
    public static void SetMetroHoverBrush(DependencyObject obj, Brush value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Windows.Media.Brush value

    SetMetroPanelBackgroundBrush(DependencyObject, Brush)

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved