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.TopLevel

Gets or sets a value indicating whether to display the form as a top-level window.

[Visual Basic]
Overridable Public Property TopLevel As Boolean
[C#]
public bool TopLevel {override get; override set;}
[C++]
public: __property virtual bool get_TopLevel();
public: __property virtual void set_TopLevel(bool);
[JScript]
public function get TopLevel() : Boolean;
public function set TopLevel(Boolean);

Property Value

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

Remarks

A top-level form is a window that has no parent form, or whose parent form is the desktop window.

See Also

Form Class | Form Members | System.WinForms Namespace | ParentForm | TopMost