ClassColorSelectorDropDown
Provides methods and properties for using the ColorSelectorDropDown.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class ColorSelectorDropDown : ControlBase
Inheritance: objectControlBaseColorSelectorDropDown
Inherited Members
Constructors
ColorSelectorDropDown()
Initializes a new instance of the ColorSelectorDropDown class.
Declaration
public ColorSelectorDropDown()
Fields
HeaderPaletteItemsSourceProperty
The Dependency property HeaderPaletteItemsSourceProperty.
Declaration
public static readonly DependencyProperty HeaderPaletteItemsSourceProperty
Field Value
DependencyProperty
MainPaletteItemsSourceProperty
The Dependency property MainPaletteItemsSourceProperty.
Declaration
public static readonly DependencyProperty MainPaletteItemsSourceProperty
Field Value
DependencyProperty
MainPaletteOrientationProperty
The Dependency property MainPaletteOrientationProperty.
Declaration
public static readonly DependencyProperty MainPaletteOrientationProperty
Field Value
DependencyProperty
SelectedColorProperty
The Dependency property SelectedColorProperty.
Declaration
public static readonly DependencyProperty SelectedColorProperty
Field Value
DependencyProperty
Properties
AutomaticColor
Gets or sets the automatic color.
Declaration
public Color AutomaticColor { get; set; }
Property Value
Color
The automatic color.
HeaderPaletteItemsSource
Gets or sets the header palette items source.
Declaration
public IEnumerable<Color> HeaderPaletteItemsSource { get; set; }
Property Value
IEnumerable<Color>
The header palette items source.
MainPaletteItemsSource
Gets or sets the main palette items source.
Declaration
public IEnumerable<Color> MainPaletteItemsSource { get; set; }
Property Value
IEnumerable<Color>
The main palette items source.
MainPaletteOrientation
Gets or sets the main palette orientation.
Declaration
public Orientation MainPaletteOrientation { get; set; }
Property Value
Orientation
The main palette orientation.
SelectedColor
Gets or sets the selected color.
Declaration
public Color SelectedColor { get; set; }
Property Value
Color
The the selected color.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnColorClicked()
Called when a color is clicked.
Declaration
protected virtual void OnColorClicked()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Events
ColorClicked
Occurs when some color in the ColorSelectorDropDown gets clicked.