Back to Devexpress

FloatGroup.FloatState Attached Property

wpf-devexpress-dot-xpf-dot-docking-dot-floatgroup-321c4468.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

See GetFloatState(DependencyObject) and SetFloatState(DependencyObject, FloatState).

Returns

TypeDescription
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:

xaml
<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>

See Also

ShowMaximizeButton

ShowMinimizeButton

ShowRestoreButton

TabbedGroup.FloatState

LayoutPanel.FloatState

FloatGroup Class

FloatGroup Members

DevExpress.Xpf.Docking Namespace