Class SkinManagerExtension
A markup extension that returns Theme for themename.
Inheritance
Namespace: Syncfusion.SfSkinManager
Assembly: Syncfusion.SfSkinManager.WPF.dll
Syntax
public sealed class SkinManagerExtension : MarkupExtension
Constructors
SkinManagerExtension()
Declaration
public SkinManagerExtension()
Properties
FluentHoverEffectMode
Gets or sets the
Declaration
public HoverEffect FluentHoverEffectMode { get; set; }
Property Value
Type | Description |
---|---|
HoverEffect | One of the HoverEffect enumeration that specifies the hover animation to be applied. The default value is BackgroundAndBorder. |
FluentPressedEffectMode
Gets or sets the
Declaration
public PressedEffect FluentPressedEffectMode { get; set; }
Property Value
Type | Description |
---|---|
PressedEffect | One of the PressedEffect enumeration that specifies the pressed animation to be applied. The default value is Reveal. |
ThemeName
Gets or sets the ThemeName value to particular control where SfSkinManager will utilize to apply respective themes for control and its child element.
Declaration
public string ThemeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The System.String Theme name. The default value is null. |
Remarks
We can provide theme name in this format: MaterialDark and we can also provide custom theme name in this format: CustomTheme1;BaseThemeName where CustomTheme1 denotes the custom theme name and BaseThemeName denotes the theme name from which it is derived. For example CustomTheme1;MaterialDark.
Methods
ProvideValue(IServiceProvider)
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Returns
Type | Description |
---|---|
System.Object |