New to Telerik UI for WPFStart a free 30-day trial

Provides methods and properties for using a HexagonItem.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class HexagonItem : ControlBase

Inheritance: objectControlBaseHexagonItem

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

Constructors

Initializes a new instance of the HexagonItem class.

C#
public HexagonItem(RadHexagonColorPicker parentColorPicker, float x, float y, double sideLength, Color hexagonElementColor, double borderStrokeThickness = 0)
Parameters:parentColorPickerRadHexagonColorPicker

The parent color picker.

xfloat

The x coordinate.

yfloat

The y coordinate.

sideLengthdouble

Length of the side.

hexagonElementColorColor

Color of the hexagon element.

borderStrokeThicknessdouble

The border stroke thickness.

Methods

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.

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.