Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OverlappedPresenter.IsAlwaysOnTop Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value that indicates whether this window will be kept on top of other windows.

public:
 property bool IsAlwaysOnTop { bool get(); void set(bool value); };
bool IsAlwaysOnTop();

void IsAlwaysOnTop(bool value);
public bool IsAlwaysOnTop { get; set; }
var boolean = overlappedPresenter.isAlwaysOnTop;
overlappedPresenter.isAlwaysOnTop = boolean;
Public Property IsAlwaysOnTop As Boolean

Property Value

Boolean

bool

true if this window will be kept on top of other windows; otherwise, false.

Remarks

If there is more than one window marked as always on top, the window that was last activated or interacted with will be on top.

Applies to


Feedback

Was this page helpful?