A newer version of this page is available. Switch to the current version.

FloatGroup Class

A container for floating panels.

Namespace: DevExpress.Xpf.Docking

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


public class FloatGroup :
Public Class FloatGroup
    Inherits LayoutGroup
    Implements IClosable

Related API Members

The following members accept/return FloatGroup objects:


A FloatGroup object represents a kind of floating window displaying a dock panel, group of dock panels or DocumentPanel in the floating state. The following image shows a FloatGroup object containing two LayoutPanel objects:


Float Groups can be moved within the boundaries of a window or a desktop. This feature is controlled by the DockLayoutManager.FloatingMode option.

To access all Float Groups, use the DockLayoutManager.FloatGroups collection.

See Float Groups to learn more.


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.

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