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

FloatGroup.FloatState Attached Property

Gets or sets whether the panel is in the normal, maximized or minimized state. This is an attached property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

#Returns

Type Description
FloatState

An enumeration value that specifies whether the panel is in the normal, maximized or minimized state.

#Remarks

When floating, the LayoutPanel displays the minimize, maximize and restore buttons that allow an end user to manipulate the state of the panel. The FloatState property specifies the actual state of the panel.

The following code sample minimizes the LayoutPanel:

<dx:ThemedWindow 
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager>
    <dxdo:DockLayoutManager.FloatGroups>
      <dxdo:FloatGroup>
        <dxdo:LayoutPanel Caption="Panel1" dxdo:FloatGroup.FloatState="Minimized"/>
      </dxdo:FloatGroup>
    </dxdo:DockLayoutManager.FloatGroups>
  </dxdo:DockLayoutManager>
</dx:ThemedWindow>

DockLayoutManager - FloatState Property

See Also