Maximizing MDI window in WPF Tabbed MDI Form (DocumentContainer)

7 May 20211 minute to read

You can maximize the MDI window by setting the CanMDIMaximize property as true. The default value of CanMDIMaximize property is false.

<syncfusion:DocumentContainer Name="DocContainer"
                              CanMDIMaximize="True" 
                              Mode="MDI">
    <FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Features"/>
    <FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Window1"/>
    <FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Document Container"/>
</syncfusion:DocumentContainer>

Maximizing MDI window in Document Container

Restrict Maximizing the MDI window

You can restrict maximizing the MDI window by setting the CanMDIMaximize property as false.

<syncfusion:DocumentContainer Name="DocContainer"
                              CanMDIMaximize="False" 
                              Mode="MDI">
    <FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Features"/>
    <FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Window1"/>
    <FlowDocumentScrollViewer syncfusion:DocumentContainer.Header="Document Container"/>
</syncfusion:DocumentContainer>

Restrict the Maximizing MDI window in Document Container