Class
RadDesktopAlertAutomationPeer

Provides a specialized automation peer for the RadDesktopAlert class, enabling UI Automation support. This class derives from and implements the IInvokeProvider interface to allow interaction with the associated RadDesktopAlert instance. It facilitates the invocation of alert actions and exposes necessary properties for UI Automation clients.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadDesktopAlertAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider

Inheritance: objectRadDesktopAlertAutomationPeer

Implements: IInvokeProvider

Constructors

RadDesktopAlertAutomationPeer(RadDesktopAlert)

Initializes a new instance of the RadDesktopAlertAutomationPeer class.

Declaration

cs-api-definition
public RadDesktopAlertAutomationPeer(RadDesktopAlert owner)

Parameters

owner

RadDesktopAlert

The owner RadDesktopAlert instance.

Methods

GetAutomationControlTypeCore()

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Retrieves the specified control pattern for the RadDesktopAlert automation peer.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

The interface of the control pattern to retrieve.

Returns

object

The requested control pattern if it is available; otherwise, null.

Invoke()

Invokes the action associated with the RadDesktopAlert.

Declaration

cs-api-definition
public void Invoke()