VisioForge (c) 2025

Search Results for

    Class SkinHelper

    Skin helper API.

    Inheritance
    object
    SkinHelper
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.