New to Telerik UI for WPFStart a free 30-day trial

DefaultPalette is a base color palette. It enables you to get the Default colors.

Definition

Namespace:Telerik.Windows.Controls.ColorPicker

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class DefaultPalette : ColorPaletteBase

Inheritance: objectColorPaletteBaseDefaultPalette

Inherited Members ColorPaletteBase.HexStringToColor(string)

Constructors

C#
public DefaultPalette()

Properties

Represent the number of columns in the Default Palette. If you want the colors in the Default Palette to be in a particular order use this property.

C#
public override int ColumnsCount { get; set; }
Property Value:

The columns count.

Overrides: ColorPaletteBase.ColumnsCount

ItemsFlow

Orientation

Gets or sets the items flow direction in a Palette..

C#
public override Orientation ItemsFlow { get; set; }
Property Value:

The items flow.

Overrides: ColorPaletteBase.ItemsFlow

Methods

GetColors represent all the colors in the Default Palette.

C#
public override IEnumerable<Color> GetColors()
Returns:

IEnumerable<Color>

The collection of colors.

Overrides: ColorPaletteBase.GetColors()