Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AutomationEventArgs::EventId Property

 

Gets the event identifier.

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

public:
property AutomationEvent^ EventId {
	AutomationEvent^ get();
}

Property Value

Type: System.Windows.Automation::AutomationEvent^

The event identifier.

If a client has added event handlers for more than one event using the same AutomationEventHandler instance, EventId can be used to identify the event that the delegate should process.

In the following example, the event handler checks the EventId of the event and handles the event accordingly.

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft