IsMdiContainer Property

PrintPreviewDialog.IsMdiContainer Property


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value indicating whether the form is a container for multiple document interface (MDI) child forms.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool IsMdiContainer { get; set; }

Property Value

Type: System.Boolean

true if the form is a container for MDI child forms; otherwise, false. The default is false.

This property is not relevant for this class.

This property changes the display and behavior of the form to an MDI parent form. When this property is set to true, the form displays a sunken client area with a raised border. All MDI child forms assigned to the parent form are displayed within its client area.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft