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

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:

C#
public class RadDesktopAlertAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider

Inheritance: objectRadDesktopAlertAutomationPeer

Implements: IInvokeProvider

Constructors

Initializes a new instance of the RadDesktopAlertAutomationPeer class.

C#
public RadDesktopAlertAutomationPeer(RadDesktopAlert owner)
Parameters:ownerRadDesktopAlert

The owner RadDesktopAlert instance.

Methods

GetAutomationControlTypeCore()

AutomationControlType

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

C#
protected override string GetNameCore()
Returns:

string

Retrieves the specified control pattern for the RadDesktopAlert automation peer.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

The interface of the control pattern to retrieve.

Returns:

object

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

Invokes the action associated with the RadDesktopAlert.

C#
public void Invoke()