WindowPattern::WindowOpenedEvent Field


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

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

static initonly AutomationEvent^ WindowOpenedEvent

This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent field in WindowPatternIdentifiers.

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

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

.NET Framework
Available since 3.0
Return to top