Class GrayscalePalette
GrayscalePalette is a base color palette. It enables you to get the Grayscale colors.
Inherited Members
Namespace: Telerik.Windows.Controls.ColorPicker
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class GrayscalePalette : ColorPaletteBase
Remarks
The main Grayscale palette has 9 columns.. It can be used in order to set the ItemSource of a palette.
Constructors
GrayscalePalette()
Declaration
public GrayscalePalette()
Properties
ColumnsCount
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.
Declaration
public override int ColumnsCount { get; set; }
Property Value
System.Int32
The columns count. |
Overrides
ItemsFlow
Gets or sets the items flow direction in a Palette..
Declaration
public override Orientation ItemsFlow { get; set; }
Property Value
System.Windows.Controls.Orientation
The items flow. |
Overrides
Methods
GetColors()
GetColors represent all the colors in a the Grayscale Palette.
Declaration
public override IEnumerable<Color> GetColors()
Returns
System.Collections.Generic.IEnumerable<System.Windows.Media.Color>
The collection of colors.. |