ClassRadLegendAutomationPeer
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:
public class RadLegendAutomationPeer : FrameworkElementAutomationPeer
Inheritance: objectRadLegendAutomationPeer
Constructors
RadLegendAutomationPeer(RadLegend)
Initializes a new instance of the RadLegendAutomationPeer class.
Declaration
public RadLegendAutomationPeer(RadLegend owner)
Parameters
owner
The RadLegend that is associated with this RadLegendAutomationPeer.
Methods
GetAutomationControlTypeCore()
Returns the control type for the element that is associated with this RadLegendAutomationPeer.
Declaration
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
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
protected override string GetClassNameCore()
Returns
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 .
GetLocalizedControlTypeCore()
Returns a localized string that contains the type name of the owner control.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
A localized string that contains the type name of the owner control.
Remarks
This method is called by .