ClassRadBadgeAutomationPeer
Provides the automation peer for the RadBadge control, facilitating UI Automation interactions and accessibility support. This class extends the class to provide necessary information about the RadBadge element for automated testing tools and assistive technologies.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadBadgeAutomationPeer : FrameworkElementAutomationPeer
Inheritance: objectRadBadgeAutomationPeer
Constructors
RadBadgeAutomationPeer(RadBadge)
Initializes a new instance of the RadBadgeAutomationPeer class.
Declaration
public RadBadgeAutomationPeer(RadBadge owner)
Parameters
owner
The RadBadgeAutomationPeer that is associated with this RadBadgeAutomationPeer.
Methods
GetAutomationControlTypeCore()
Returns the control type for the element that is associated with this RadBadgeAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
The enumeration value.
Remarks
This method is called by .
GetClassNameCore()
Returns the name of the RadBadge that is associated with this RadBadgeAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
The name of the owner type that is associated with this RadBadgeAutomationPeer.
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 .
GetNameCore()
Gets the text label of owner badge. Called by System.Windows.Automation.Peers.AutomationPeer.GetName().