Class PolygonItem
Represents the PolyGon Item Control.
Inheritance
Implements
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class PolygonItem : Control, IDisposable
Constructors
PolygonItem()
Creates the instance of PolygonItem control
Declaration
public PolygonItem()
Fields
ColorNameProperty
Identifies the ColorName dependency property.
Declaration
public static readonly DependencyProperty ColorNameProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
colorProperty
Identifies the color dependency property.
Declaration
public static readonly DependencyProperty colorProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
ColumnIndexProperty
Identifies the ColumnIndex dependency property.
Declaration
public static readonly DependencyProperty ColumnIndexProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
PointsProperty
Identifies the Points dependency property.
Declaration
public static readonly DependencyProperty PointsProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
RowIndexProperty
Identifies the RowIndex dependency property.
Declaration
public static readonly DependencyProperty RowIndexProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
Properties
color
Gets or sets the value of the color dependency property.
Declaration
public Brush color { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.Brush |
ColorName
Gets or sets the name of the color.
Declaration
public string ColorName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the color. |
ColumnIndex
Gets or sets the value of the ColumnIndex dependency property.
Declaration
public int ColumnIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Points
Gets or sets the value of the Points dependency property.
Declaration
public PointCollection Points { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.PointCollection |
RowIndex
Gets or sets the value of the RowIndex dependency property.
Declaration
public int RowIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Methods
Dispose()
Disposes all the resources.
Declaration
public void Dispose()
OnApplyTemplate()
Applies the Template for the control
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates an automation peer for the PolygonItem control.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationPeer | A PolygonItemAutomationPeer for this control. |