Home Notices Documents Classes Download Others Rice
Classes  >  window  >  TopMost(bool)
window class : TopMost(bool) setter

Description

Sets a value that indicates whether the window will always be displayed foreground of the desktop screen.

Syntax

windowInstance.TopMost = foreground

Arguments

ClassNameDescription
boolforegroundThe value that indicates whether the window will always be displayed foreground of the desktop screen.

Return value

None

Sample code

1:

window w = new window();

2:

w.TopMost = true;

Notes

It's a wrapper of the System.Windows.Window.TopMost property.

Sets true if the window will always be displayed foreground. Otherwise, sets false.

Links for reference

Copyright © Rice All rights reserved.