NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form.TopMost

Gets or sets a value indicating whether the form should be displayed as the top-most form of your application.

[Visual Basic]
Public Property TopMost As Boolean
[C#]
public bool TopMost {get; set;}
[C++]
public: __property bool get_TopMost();
public: __property void set_TopMost(bool);
[JScript]
public function get TopMost() : Boolean;
public function set TopMost(Boolean);

Property Value

true to display the form as a top-most form; otherwise false. The default is false.

Remarks

A top-most form is a form that overlaps all the other forms even if it is not the active or foreground form. Top-most forms are always displayed at the highest point in the <span id="frameworks:z_order" class ="gp">Z order</span> of an application.

See Also

Form Class | Form Members | System.WinForms Namespace | TopLevel