Class SkinManager
Represents a SkinManager class that have a ActiveColorScheme DependencyProperty.
Inheritance
System.Object
SkinManager
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class SkinManager : DependencyObject
Constructors
SkinManager()
Declaration
public SkinManager()
Fields
ActiveColorSchemeProperty
Defines Custom Color Scheme is applied to control. This is a dependency property.
Declaration
public static readonly DependencyProperty ActiveColorSchemeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Methods
GetActiveColorScheme(DependencyObject)
Gets the value of the ActiveColorScheme property for a given element.
Declaration
public static SolidColorBrush GetActiveColorScheme(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | The element for which to retrieve the ZIndex value. |
Returns
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush | Return the active color |
RemoveDictionaryIfExist(FrameworkElement, ResourceDictionary)
Removes the dictionary if exist.
Declaration
public static void RemoveDictionaryIfExist(FrameworkElement element, ResourceDictionary dictionary)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.FrameworkElement | element | The element. |
System.Windows.ResourceDictionary | dictionary | The dictionary. |
SetActiveColorScheme(DependencyObject, SolidColorBrush)
Declaration
public static void SetActiveColorScheme(DependencyObject obj, SolidColorBrush value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.Windows.Media.SolidColorBrush | value |