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

GrayscalePalette is a base color palette. It enables you to get the Grayscale colors.

Definition

Namespace:Telerik.Windows.Controls.ColorPicker

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class GrayscalePalette : ColorPaletteBase

Inheritance: objectColorPaletteBaseGrayscalePalette

Inherited Members ColorPaletteBase.HexStringToColor(string)

Constructors

C#
public GrayscalePalette()

Properties

Represent the number of columns in the Grayscale Palette. If you want the colors in the Grayscale 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 a the Grayscale Palette.

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

IEnumerable<Color>

The collection of colors..

Overrides: ColorPaletteBase.GetColors()