Class ColorSelectorDropDown
Provides methods and properties for using the ColorSelectorDropDown.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class ColorSelectorDropDown : ControlBase
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
System.Windows.DependencyProperty
|
MainPaletteItemsSourceProperty
The Dependency property MainPaletteItemsSourceProperty.
Declaration
public static readonly DependencyProperty MainPaletteItemsSourceProperty
Field Value
System.Windows.DependencyProperty
|
MainPaletteOrientationProperty
The Dependency property MainPaletteOrientationProperty.
Declaration
public static readonly DependencyProperty MainPaletteOrientationProperty
Field Value
System.Windows.DependencyProperty
|
SelectedColorProperty
The Dependency property SelectedColorProperty.
Declaration
public static readonly DependencyProperty SelectedColorProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AutomaticColor
Gets or sets the automatic color.
Declaration
public Color AutomaticColor { get; set; }
Property Value
System.Windows.Media.Color
The automatic color. |
HeaderPaletteItemsSource
Gets or sets the header palette items source.
Declaration
public IEnumerable<Color> HeaderPaletteItemsSource { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.Windows.Media.Color>
The header palette items source. |
MainPaletteItemsSource
Gets or sets the main palette items source.
Declaration
public IEnumerable<Color> MainPaletteItemsSource { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.Windows.Media.Color>
The main palette items source. |
MainPaletteOrientation
Gets or sets the main palette orientation.
Declaration
public Orientation MainPaletteOrientation { get; set; }
Property Value
System.Windows.Controls.Orientation
The main palette orientation. |
SelectedColor
Gets or sets the selected color.
Declaration
public Color SelectedColor { get; set; }
Property Value
System.Windows.Media.Color
The the selected color. |
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnColorClicked()
Called when a color is clicked.
Declaration
protected virtual void OnColorClicked()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Events
ColorClicked
Occurs when some color in the ColorSelectorDropDown gets clicked.
Declaration
public event EventHandler ColorClicked
Event Type
System.EventHandler
|