Class HexagonItem
Provides methods and properties for using a HexagonItem.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class HexagonItem : ControlBase
Constructors
HexagonItem(RadHexagonColorPicker, Single, Single, Double, Color, Double)
Initializes a new instance of the HexagonItem class.
Declaration
public HexagonItem(RadHexagonColorPicker parentColorPicker, float x, float y, double sideLength, Color hexagonElementColor, double borderStrokeThickness = 0)
Parameters
RadHexagonColorPicker
parentColorPicker
The parent color picker. |
System.Single
x
The x coordinate. |
System.Single
y
The y coordinate. |
System.Double
sideLength
Length of the side. |
System.Windows.Media.Color
hexagonElementColor
Color of the hexagon element. |
System.Double
borderStrokeThickness
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 System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |