xtd 0.2.0
Loading...
Searching...
No Matches

◆ top_level() [1/2]

virtual bool xtd::forms::form::top_level ( ) const
virtualnoexcept

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

Returns
true to display the form as a top-level window; otherwise, false. The default is true.
Remarks
A Multiple-document interface (MDI) parent form must be a top-level window. So set to false has no effect.
A top-level form is a window that has no parent form, or whose parent form is the desktop window. Top-level windows are typically used as the main form in an application.