ClassRadHexagonColorPicker
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
RadHexagonColorPicker()
Initializes a new instance of the RadHexagonColorPicker class.
Declaration
public RadHexagonColorPicker()
Fields
SelectedColorChangedEvent
Occurs when the selected color is changed.
Declaration
public static readonly RoutedEvent SelectedColorChangedEvent
Field Value
RoutedEvent
SelectedColorProperty
The Dependency property SelectedColorProperty.
Declaration
public static readonly DependencyProperty SelectedColorProperty
Field Value
DependencyProperty
Properties
SelectedColor
Gets or sets the selected color.
Declaration
public Color SelectedColor { get; set; }
Property Value
Color
The selected color as Color.
UseSmoothColorTransition
Gets or sets a value indicating whether smooth color transition is used.
Declaration
public bool UseSmoothColorTransition { get; set; }
Property Value
The use of smooth color transition.
Methods
MeasureOverride(Size)
Called to re-measure a control.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
The maximum available size of the control.
Returns
Size
The size of the control, up to the maximum specified by availableSize.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
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.
OnSelectedColorChanged(ColorChangeEventArgs)
Raises the event.
Declaration
protected virtual void OnSelectedColorChanged(ColorChangeEventArgs args)
Parameters
args
The ColorChangeEventArgs instance containing the event data.
Events
SelectedColorChanged
Occurs when the selected color is changed.
Declaration
public event EventHandler<ColorChangeEventArgs> SelectedColorChanged
Event Value