ColorPaletteBase
ColorPaletteBase is the base class for all palettes. When you want to implement custom Palette just inherit this class and implement the methods.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public abstract class ColorPaletteBase
Inheritance: objectColorPaletteBase
Derived Classes:
Constructors
protected ColorPaletteBase()
Properties
Represent the number of columns in a Palette. If you want the colors in a Palette to be in a particular order use this property.
public abstract int ColumnsCount { get; set; }
The columns count.
ItemsFlow
Orientation
Gets or sets the items flow direction.
public abstract Orientation ItemsFlow { get; set; }
The items flow.
Methods
GetColors()
IEnumerable<Color>
GetColors represent all the colors in a particular Palette.
This method convert string representation of a color to Color object.
public static Color HexStringToColor(string hexColor)
Color representation in HEX format.
Returns:Color
This method convert string in #XXXXXXXX format to Color object.