Class
RadBadgeAutomationPeer

Exposes RadBadge to UI Automation.

Definition

Namespace:Telerik.UI.Automation.Peers

Assembly:Telerik.WinUI.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 .

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