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