DockLayoutManager.FloatGroups Property

Provides access to floating groups of panels. Allows you to create floating panels in XAML.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v21.1.dll


public FloatGroupCollection FloatGroups { get; }

Property Value

Type Description

A FloatGroupCollection object which is a collection of floating groups.


In XAML, you can create a floating panel as follows:

  1. Add a FloatGroup object to the FloatGroups collection.
  2. Add a panel(s) to the created FloatGroup.
  3. Set the size for the created FloatGroup object via the BaseLayoutItem.FloatSize property.

To specify the position for the FloatGroup, use the FloatGroup.FloatLocation property.

To make a panel floating in code, use the DockController.Float method provided by the DockLayoutManager.DockController object.


The following example shows how to create floating panels. To create a floating panel:

1) A FloatGroup is added to the DockLayoutManager.FloatGroups collection

2) A LayoutPanel(s) is added to the created FloatGroup.

View Example

    <!--Create a FloatGroup containing two panels-->
    <dxdo:FloatGroup FloatSize="400,200" FloatLocation="20,30">
        <dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties">
            <RichTextBox />
        <dxdo:LayoutPanel x:Name="paneMessages" Caption="Messages">
            <RichTextBox />
    <!--Create a FloatGroup containing one panel-->
    <dxdo:FloatGroup FloatSize="200,150" FloatLocation="100,100">
        <dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results">
            <RichTextBox />
See Also