Class RadHexagonColorPicker
Provides methods and properties for using RadHexagonColorPicker.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class RadHexagonColorPicker : ControlBase
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
System.Windows.DependencyProperty
|
Properties
SelectedColor
Gets or sets the selected color.
Declaration
public Color SelectedColor { get; set; }
Property Value
System.Windows.Media.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
System.Boolean
The use of smooth color transition. |
Methods
MeasureOverride(Size)
Called to re-measure a control.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The maximum available size of the control. |
Returns
System.Windows.Size
The size of the control, up to the maximum specified by |
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()
OnSelectedColorChanged(ColorChangeEventArgs)
Raises the SelectedColorChanged event.
Declaration
protected virtual void OnSelectedColorChanged(ColorChangeEventArgs args)
Parameters
ColorChangeEventArgs
args
The ColorChangeEventArgs instance containing the event data. |
Events
SelectedColorChanged
Occurs when the selected color is changed.
Declaration
public event EventHandler<ColorChangeEventArgs> SelectedColorChanged
Event Type
System.EventHandler<ColorChangeEventArgs>
|