New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadBadgeAutomationPeer : FrameworkElementAutomationPeer

Inheritance: objectRadBadgeAutomationPeer

Constructors

Initializes a new instance of the RadBadgeAutomationPeer class.

C#
public RadBadgeAutomationPeer(RadBadge owner)
Parameters:ownerRadBadge

The RadBadgeAutomationPeer that is associated with this RadBadgeAutomationPeer.

Methods

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

Remarks:

This method is called by .

Returns the name of the RadBadge that is associated with this RadBadgeAutomationPeer.

C#
protected override string GetClassNameCore()
Returns:

string

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

Remarks:

This method is called by .

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

C#
protected override string GetHelpTextCore()
Returns:

string

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

C#
protected override sealed string GetItemStatusCore()
Returns:

string

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

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

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

Remarks:

This method is called by .

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

C#
protected override string GetNameCore()
Returns:

string