Share via


OverlappedPresenter.IsAlwaysOnTop Property

Definition

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