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:
public class RadDesktopAlertAutomationPeer : FrameworkElementAutomationPeer, IInvokeProvider
Inheritance: objectRadDesktopAlertAutomationPeer
Implements:
Constructors
Initializes a new instance of the RadDesktopAlertAutomationPeer class.
public RadDesktopAlertAutomationPeer(RadDesktopAlert owner)
The owner RadDesktopAlert instance.
Methods
GetAutomationControlTypeCore()
AutomationControlType
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
Retrieves the specified control pattern for the RadDesktopAlert automation peer.
public override object GetPattern(PatternInterface patternInterface)
The interface of the control pattern to retrieve.
Returns:The requested control pattern if it is available; otherwise, null.
Invokes the action associated with the RadDesktopAlert.
public void Invoke()