Class
RadBadgeAutomationPeer

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:

cs-api-definition
public class RadBadgeAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadBadgeAutomationPeer

Constructors

RadBadgeAutomationPeer(RadBadge)

Initializes a new instance of the RadBadgeAutomationPeer class.

Declaration

cs-api-definition
public RadBadgeAutomationPeer(RadBadge owner)

Parameters

owner

RadBadge

The RadBadgeAutomationPeer that is associated with this RadBadgeAutomationPeer.

Methods

GetAutomationControlTypeCore()

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

Declaration

cs-api-definition
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

cs-api-definition
protected override string GetClassNameCore()

Returns

string

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 .

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 .

GetNameCore()

Gets the text label of owner badge. Called by System.Windows.Automation.Peers.AutomationPeer.GetName().

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string