編輯

共用方式為


PrintPreviewDialog.IsMdiContainer Property

Definition

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

public:
 property bool IsMdiContainer { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool IsMdiContainer { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.IsMdiContainer : bool with get, set
Public Property IsMdiContainer As Boolean

Property Value

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

Attributes

Remarks

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.

Applies to