Palette.CreatePalette(Color[]) Method

Creates a palette from the specified colors.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v20.1.dll

Declaration

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

Parameters

Name Type Description
colors Color[]

An array of Color values initializing the palette.

Returns

Type Description
Palette

A Palette object that is the newly created palette.

See Also