AutomationEventArgs.EventId Property

 

Gets the event identifier.

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

member EventId : AutomationEvent with 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: