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);
true to display the form as a top-level window; otherwise false. The default is true.
A top-level form is a window that has no parent form, or whose parent form is the desktop window.
Form Class | Form Members | System.WinForms Namespace | ParentForm | TopMost