Class
RadLegendAutomationPeer

Provides the automation peer for the RadLegend control, enabling UI automation support by exposing properties, events, and child elements to assistive technologies. This class derives from and overrides methods to provide specific information about the RadLegend instance it is associated with. The RadLegendAutomationPeer allows for the retrieval of the owner control's class name, a localized control type, the automation control type, and a collection of child elements. It also provides help text for the control and can expose custom property values in advanced automation mode.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class RadLegendAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadLegendAutomationPeer

Constructors

RadLegendAutomationPeer(RadLegend)

Initializes a new instance of the RadLegendAutomationPeer class.

Declaration

cs-api-definition
public RadLegendAutomationPeer(RadLegend owner)

Parameters

owner

RadLegend

The RadLegend that is associated with this RadLegendAutomationPeer.

Methods

GetAutomationControlTypeCore()

Returns the control type for the element that is associated with this RadLegendAutomationPeer.

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The enumeration value.

Remarks

This method is called by .

GetChildrenCore()

Returns the collection of child elements of the UIElement that is associated with this RadLegendAutomationPeer.

Declaration

cs-api-definition
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

A list of child AutomationPeer elements.

Remarks

This method is called by .

GetClassNameCore()

Returns the name of the RadLegend that is associated with this RadLegendAutomationPeer.

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

The name of the owner type that is associated with this RadLegendAutomationPeer.

Remarks

This method is called by .

GetHelpTextCore()

Returns the string that describes the functionality of the FrameworkElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

The help text, or Empty if there is no help text.

GetItemStatusCore()

Declaration

cs-api-definition
protected override sealed string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Returns a localized string that contains the type name of the owner control.

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

A localized string that contains the type name of the owner control.

Remarks

This method is called by .