AutomationPeerHelper Class
Provides helper methods for automation peers.
public static class AutomationPeerHelper
- Inheritance:
- object object
Methods
RaiseUiaNotification(IRawElementProviderSimple, Guid, string)
Programmatically raises a UIA notification for an important action completed event.
public static void RaiseUiaNotification(IRawElementProviderSimple provider, Guid activityId, string notificationText)
| Parameter | Type | Description |
|---|---|---|
| provider | IRawElementProviderSimple | The IRawElementProviderSimple node related to the notification. |
| activityId | Guid | A unique ID that identifies the action or a group of related actions. |
| notificationText | string | The notification text. |
RaiseUiaNotification(IRawElementProviderSimple, Guid, string, AutomationNotificationKind, AutomationNotificationProcessing)
Programmatically raises a UIA notification for an event.
public static void RaiseUiaNotification(IRawElementProviderSimple provider, Guid activityId, string notificationText, AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing)
| Parameter | Type | Description |
|---|---|---|
| provider | IRawElementProviderSimple | The IRawElementProviderSimple node related to the notification. |
| activityId | Guid | A unique ID that identifies the action or a group of related actions. |
| notificationText | string | The notification text. |
| notificationKind | AutomationNotificationKind | The notification kind. |
| notificationProcessing | AutomationNotificationProcessing | The notification processing. |