Back to Devexpress

Palette.CreatePalette(Color[]) Method

windowsforms-devexpress-dot-xtratreemap-dot-palette-dot-createpalette-x28-system-dot-drawing-dot-color-x29.md

latest1.4 KB
Original Source

Palette.CreatePalette(Color[]) Method

Creates a palette from the specified colors.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.dll

NuGet Package : DevExpress.TreeMap

Declaration

csharp
public static Palette CreatePalette(
    params Color[] colors
)
vb
Public Shared Function CreatePalette(
    ParamArray colors As Color()
) As Palette

Parameters

NameTypeDescription
colorsColor[]

An array of Color values initializing the palette.

|

Returns

TypeDescription
Palette

A Palette object that is the newly created palette.

|

See Also

Palette Class

Palette Members

DevExpress.XtraTreeMap Namespace