Home Notices Documents Classes Download Others Rice
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

1:

window w = new window();

2:

bool foreground = w.TopMost;

Notes

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

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

Links for reference

Copyright © Rice All rights reserved.