Home Cooker Classes 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

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

Links for reference

None

Copyright © Rice All rights reserved.