InvokePattern::InvokedEvent Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public:
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
Show: