Class
HexagonItem

Provides methods and properties for using a HexagonItem.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class HexagonItem : ControlBase

Inheritance: objectControlBaseHexagonItem

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

Constructors

HexagonItem(RadHexagonColorPicker, float, float, double, Color, double)

Initializes a new instance of the HexagonItem class.

Declaration

cs-api-definition
public HexagonItem(RadHexagonColorPicker parentColorPicker, float x, float y, double sideLength, Color hexagonElementColor, double borderStrokeThickness = 0)

Parameters

parentColorPicker

RadHexagonColorPicker

The parent color picker.

x

float

The x coordinate.

y

float

The y coordinate.

sideLength

double

Length of the side.

hexagonElementColor

Color

Color of the hexagon element.

borderStrokeThickness

double

The border stroke thickness.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

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.