Skip to main content

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