Windows Dev Center

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 Constructor (AutomationEvent)


Initializes a new instance of the AutomationEventArgs class.

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

public AutomationEventArgs(
	AutomationEvent eventId


Type: System.Windows.Automation.AutomationEvent

The event identifier.

Legacy Code Example

The following code shows how a might create anAutomationEventArgs and raise the event.GTMT

Code snippet is not found. Confirm that the code snippet name 'UIAFragmentProvider_snip' is correct.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft