We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WinWindow.AlwaysOnTop Property

Gets a value that indicates whether this window always appears on top of other windows.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public virtual bool AlwaysOnTop { get; }

Property Value

Type: System.Boolean
true if this window always appears on top of other windows; otherwise, false.

Show: