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
Initializes a new instance of the RadLegendAutomationPeer class.
public RadLegendAutomationPeer(RadLegend owner)
The RadLegend that is associated with this RadLegendAutomationPeer.
Methods
GetAutomationControlTypeCore()
AutomationControlType
Returns the control type for the element that is associated with this RadLegendAutomationPeer.
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The enumeration value.
This method is called by .
GetChildrenCore()
List<AutomationPeer>
Returns the collection of child elements of the UIElement that is associated with this RadLegendAutomationPeer.
protected override List<AutomationPeer> GetChildrenCore()
List<AutomationPeer>
A list of child AutomationPeer elements.
This method is called by .
Returns the name of the RadLegend that is associated with this RadLegendAutomationPeer.
protected override string GetClassNameCore()
The name of the owner type that is associated with this RadLegendAutomationPeer.
This method is called by .
Returns a localized string that contains the type name of the owner control.
protected override string GetLocalizedControlTypeCore()
A localized string that contains the type name of the owner control.
This method is called by .