Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IMDIController.Minimize(BaseLayoutItem) Method

Minimizes the document.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

#Declaration

bool Minimize(
    BaseLayoutItem document
)

#Parameters

Name Type Description
document BaseLayoutItem

The BaseLayoutItem object that should be minimized.

#Returns

Type Description
Boolean

true, if the document is minimized; otherwise, false.

#Remarks

The following code sample minimizes the Panel1 DocumentPanel:

<Window ...
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager x:Name="DockLayoutManager1" >
    <dxdo:LayoutGroup>
      <dxdo:DocumentGroup MDIStyle="MDI">
        <dxdo:DocumentPanel x:Name="Panel1"/>
        <dxdo:DocumentPanel x:Name="Panel2"/>
      </dxdo:DocumentGroup>
    </dxdo:LayoutGroup>
  </dxdo:DockLayoutManager>
</Window>
DockLayoutManager1.MDIController.Minimize(Panel1);
See Also