Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / ColorPalette Class / GetColor Method
Index of the color to get.


In This Topic
    GetColor Method
    In This Topic
    Returns the predefined color by index value.
    Syntax
    'Declaration
     
    Public Shared Function GetColor( _
       ByVal index As Integer _
    ) As Color
    'Usage
     
    Dim index As Integer
    Dim value As Color
     
    value = ColorPalette.GetColor(index)
    public static Color GetColor( 
       int index
    )

    Parameters

    index
    Index of the color to get.

    Return Value

    The returned color.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also