InvokePattern::InvokedEvent Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

static initonly AutomationEvent^ InvokedEvent

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