WindowPattern::WindowPatternInformation::IsTopmost Property

 

Gets a value that specifies whether the AutomationElement is the topmost element in the z-order.

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

public:
property bool IsTopmost {
	bool get();
}

Property Value

Type: System::Boolean

true if the AutomationElement is topmost; otherwise false.

In the following example, an AutomationPropertyChangedEventHandler is defined to listen for changes to the IsTopmostProperty of an AutomationElement.

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

.NET Framework
Available since 3.0
Return to top
Show: