Class SkinHelper
Skin helper API.
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Skins
Assembly: VisioForge.Core.dll
Syntax
public static class SkinHelper
Methods
LoadStyleDictionaryFromData(byte[])
Dynamically load a style from byte array.
Declaration
public static ResourceDictionary LoadStyleDictionaryFromData(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | The data. |
Returns
| Type | Description |
|---|---|
| ResourceDictionary | ResourceDictionary. |
ToColor(SKColor)
Converts to color.
Declaration
public static Color ToColor(this SKColor color)
Parameters
| Type | Name | Description |
|---|---|---|
| SKColor | color | The color. |
Returns
| Type | Description |
|---|---|
| Color | Color. |
UpdateSliderStyle(Skin, Slider, ResourceDictionary)
Updates the slider style.
Declaration
public static void UpdateSliderStyle(Skin skin, Slider slider, ResourceDictionary styleDict)
Parameters
| Type | Name | Description |
|---|---|---|
| Skin | skin | The skin. |
| Slider | slider | The slider. |
| ResourceDictionary | styleDict | The style dictionary. |