Window.Topmost Property
.NET Framework 4.6 and 4.5
Gets or sets a value that indicates whether a window appears in the topmost z-order.
Namespace: System.Windows
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
A window whose Topmost property is set to true appears above all windows whose Topmost properties are set to false.
In the group of windows that have Topmost property is set to true, the window that is currently activated is the topmost window. Likewise for the group of windows that have Topmost property is set to false.
Note |
|---|
You cannot set or get this property when a window is hosted in a browser. |
Show:
Note