Show / Hide Table of Contents

Method SetIsAlwaysOnTop

| Edit this page View Source

SetIsAlwaysOnTop(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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX