NevronOpenVision
Nevron.Nov.Diagram.Themes Namespace / NDynamicThemeColor Class / ToColor Method
The styleable element this theme color is used in, for example a shape or a style preview.
In This Topic
    ToColor Method (NDynamicThemeColor)
    In This Topic
    Converts this theme color to NColor.
    Syntax
    public override NColor ToColor( 
       INStyleableElement styleableElement
    )

    Parameters

    styleableElement
    The styleable element this theme color is used in, for example a shape or a style preview.

    Return Value

    The color equivalent of this theme color or NColor.Empty if a color equivalent couldn't be determined.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also