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

Exposes chart annotation types to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class ChartAnnotationAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectChartAnnotationAutomationPeer

Derived Classes: CartesianCustomLineAnnotationAutomationPeerCartesianGridLineAnnotationAutomationPeerCartesianMarkedZoneAnnotationAutomationPeerPolarAxisGridLineAnnotationAutomationPeerRadialAxisGridLineAnnotationAutomationPeer

Constructors

Initializes a new instance of the ChartAnnotationAutomationPeer class.

C#
public ChartAnnotationAutomationPeer(ChartAnnotation owner)
Parameters:ownerChartAnnotation

The owner.

Methods

Gets the control type for the UIElement that is associated with this . This method is called by .

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

C#
protected override Rect GetBoundingRectangleCore()
Returns:

Rect

Gets the name of the UIElement that is associated with this . This method is called by .

C#
protected override string GetClassNameCore()
Returns:

string

An Empty string.

C#
protected override sealed string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.