Class PolygonItemAutomationPeer
Provides UI Automation support for the PolygonItem control.
Inheritance
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class PolygonItemAutomationPeer : FrameworkElementAutomationPeer
Constructors
PolygonItemAutomationPeer(PolygonItem)
Initializes a new instance of the PolygonItemAutomationPeer class.
Declaration
public PolygonItemAutomationPeer(PolygonItem control)
Parameters
| Type | Name | Description |
|---|---|---|
| PolygonItem | control | The PolygonItem associated with this automation peer. |
Methods
GetAutomationControlTypeCore()
Gets the automation control type of the PolygonItem.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type |
|---|
| System.Windows.Automation.Peers.AutomationControlType |
GetAutomationIdCore()
Gets the automation ID of the PolygonItem, derived from its position in the more-colors grid.
Declaration
protected override string GetAutomationIdCore()
Returns
| Type |
|---|
| System.String |
GetBoundingRectangleCore()
Gets the screen rectangle of the PolygonItem, taken from its inner polygon element.
Declaration
protected override Rect GetBoundingRectangleCore()
Returns
| Type |
|---|
| System.Windows.Rect |
GetClassNameCore()
Gets the class name of the PolygonItem, taken from the owner type so
the UIA ClassName property reflects the actual control class
and stays in sync with it.
Declaration
protected override string GetClassNameCore()
Returns
| Type |
|---|
| System.String |
GetClickablePointCore()
Gets the clickable point at the center of the PolygonItem.
Declaration
protected override Point GetClickablePointCore()
Returns
| Type |
|---|
| System.Windows.Point |
GetHelpTextCore()
Gets the help text of the PolygonItem, which is the color it represents.
Declaration
protected override string GetHelpTextCore()
Returns
| Type |
|---|
| System.String |
GetNameCore()
Gets the name of the PolygonItem, which is the color it represents.
Declaration
protected override string GetNameCore()
Returns
| Type |
|---|
| System.String |
IsOffscreenCore()
Gets a value indicating whether the PolygonItem is offscreen.
Declaration
protected override bool IsOffscreenCore()
Returns
| Type |
|---|
| System.Boolean |