Home Cooker Classes Others Rice CookerGX
Classes  >  window  >  TopMost
window class : TopMost getter

Description

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

Syntax

windowInstance.TopMost

Arguments

None

Return value

ClassDescription
boolA value that indicates whether the window will always be displayed foreground of the desktop screen.

Sample code

//anyWindow is a instance of window type.

bool foreground = anyWindow.TopMost;

Notes

It's a wrapper of the System.Windows.Forms.Form.TopMost.

Returns true if the window will always be displayed foreground. Otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.