InvokePattern.InvokedEvent Field

 

Identifies the event raised when a control is invoked or activated.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

static val InvokedEvent : AutomationEvent

This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent field in InvokePatternIdentifiers.

The InvokedEvent identifier is passed as a parameter to AddAutomationEventHandler.

In the following example, the event handler identifies the event as an Invoked event by comparing the EventId in the event arguments with the InvokedEvent identifier field.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: