WindowOpenedEvent Field

WindowPattern.WindowOpenedEvent Field


Identifies the event that is raised when a window is opened.

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

public static readonly AutomationEvent WindowOpenedEvent

This identifier is used by applications. should use the equivalent field in WindowPatternIdentifiers.GTMTGTMT

In the following example, event listeners are declared and an AutomationEventHandler delegate is specified for WindowOpenedEvent and WindowClosedEvent events.

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