window class : TopMost(bool) setter

Description

Sets a value that indicates whether the window is always in the foreground.

Syntax

instance.TopMost = value;

Assigned value

ClassDescription
boolWhether the window is always in the foreground.

Return value

None.

Sample code

1:

window w = new window();

2:

w.TopMost = true;

Notes

If assigns true, the window will always be in the foreground. If assigns false, it will behave ordinary.

The default value is false.

Links for reference

None.

Copyright © Cooker All rights reserved.