Method SetIsAlwaysOnTop
| Edit this page View SourceSetIsAlwaysOnTop(Window, bool)
Configures whether the window should always be displayed on top of other windows or not
Declaration
public static void SetIsAlwaysOnTop(this Window window, bool enable)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | window | Window |
| bool | enable | Whether to display on top |
Remarks
The presenter must be an overlapped presenter.
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | Throw if the AppWindow Presenter isn't an overlapped presenter. |