Provides methods and properties for using RadHexagonColorPicker.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class RadHexagonColorPicker : ControlBase
Inheritance: objectControlBaseRadHexagonColorPicker
Inherited Members
Constructors
Initializes a new instance of the RadHexagonColorPicker class.
public RadHexagonColorPicker()
Fields
SelectedColorChangedEvent
RoutedEvent
Occurs when the selected color is changed.
public static readonly RoutedEvent SelectedColorChangedEvent
SelectedColorProperty
DependencyProperty
The Dependency property SelectedColorProperty.
public static readonly DependencyProperty SelectedColorProperty
Properties
SelectedColor
Color
Gets or sets the selected color.
public Color SelectedColor { get; set; }
The selected color as Color.
Gets or sets a value indicating whether smooth color transition is used.
public bool UseSmoothColorTransition { get; set; }
The use of smooth color transition.
Methods
Called to re-measure a control.
protected override Size MeasureOverride(Size availableSize)
The maximum available size of the control.
Returns:Size
The size of the control, up to the maximum specified by availableSize.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Raises the event.
protected virtual void OnSelectedColorChanged(ColorChangeEventArgs args)
The ColorChangeEventArgs instance containing the event data.
Events
Occurs when the selected color is changed.
public event EventHandler<ColorChangeEventArgs> SelectedColorChanged