Class
RadHexagonColorPicker

Provides methods and properties for using RadHexagonColorPicker.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class RadHexagonColorPicker : ControlBase

Inheritance: objectControlBaseRadHexagonColorPicker

Inherited Members ControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

RadHexagonColorPicker()

Initializes a new instance of the RadHexagonColorPicker class.

Declaration

cs-api-definition
public RadHexagonColorPicker()

Fields

SelectedColorChangedEvent

Occurs when the selected color is changed.

Declaration

cs-api-definition
public static readonly RoutedEvent SelectedColorChangedEvent

Field Value

RoutedEvent

SelectedColorProperty

The Dependency property SelectedColorProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedColorProperty

Field Value

DependencyProperty

Properties

SelectedColor

Gets or sets the selected color.

Declaration

cs-api-definition
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

cs-api-definition
public bool UseSmoothColorTransition { get; set; }

Property Value

bool

The use of smooth color transition.

Methods

MeasureOverride(Size)

Called to re-measure a control.

Declaration

cs-api-definition
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

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnSelectedColorChanged(ColorChangeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnSelectedColorChanged(ColorChangeEventArgs args)

Parameters

args

ColorChangeEventArgs

The ColorChangeEventArgs instance containing the event data.

Events

SelectedColorChanged

Occurs when the selected color is changed.

Declaration

cs-api-definition
public event EventHandler<ColorChangeEventArgs> SelectedColorChanged

Event Value

EventHandler<ColorChangeEventArgs>