Class SkinManagerHelper
Helper class to handle theme related settings to be applied for control
Inheritance
Namespace: Syncfusion.SfSkinManager
Assembly: Syncfusion.SfSkinManager.WPF.dll
Syntax
public class SkinManagerHelper : Object
Remarks
Constructors
SkinManagerHelper()
Declaration
public SkinManagerHelper()
Fields
ShowAcrylicBackgroundProperty
Identifies the ShowAcrylicBackgroundProperty dependency attached property.
Declaration
public static readonly DependencyProperty ShowAcrylicBackgroundProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The System.Boolean value to enable/disable acrylic background. The default value is false. |
Remarks
The identifier for the ShowAcrylicBackgroundProperty dependency attached property.
Methods
GetShowAcrylicBackground(DependencyObject)
Gets the ShowAcrylicBackgroundProperty property value that will enable/disable acrylic background for window.
Declaration
public static bool GetShowAcrylicBackground(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | Control for which ShowAcrylicBackgroundProperty value has been applied |
Returns
Type | Description |
---|---|
System.Boolean | The System.Boolean value to enable/disable acrylic background. The default value is false. |
Remarks
Applicable only for fluent theme and should be enabled only for window.
Acrylic blur background will be displayed only in Windows 10 and above OS versions.
SetShowAcrylicBackground(DependencyObject, Boolean)
Sets the ShowAcrylicBackgroundProperty property value that will enable/disable acrylic background for window.
Declaration
public static void SetShowAcrylicBackground(DependencyObject obj, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | Control for which ShowAcrylicBackgroundProperty value has been applied |
System.Boolean | value | System.Boolean value |
Remarks
Applicable only for fluent theme and should be enabled only for window.
Acrylic blur background will be displayed only in Windows 10 and above OS versions.