FloatGroupCollection Class
Represents a collection of FloatGroup objects.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Related API Members
The following members return FloatGroupCollection objects:
Remarks
The DockLayoutManager.FloatGroups property represents a collection of FloatGroup objects. Each floating group represents a kind of floating window, displaying panels.
The DockLayoutManager.FloatingMode property specifies how floating groups are moved (within the current application window or throughout the desktop).
Example
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.
<dxdo:DockLayoutManager.FloatGroups>
<!--Create a FloatGroup containing two panels-->
<dxdo:FloatGroup FloatSize="400,200" FloatLocation="20,30">
<dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties">
<RichTextBox />
</dxdo:LayoutPanel>
<dxdo:LayoutPanel x:Name="paneMessages" Caption="Messages">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:FloatGroup>
<!--Create a FloatGroup containing one panel-->
<dxdo:FloatGroup FloatSize="200,150" FloatLocation="100,100">
<dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results">
<RichTextBox />
</dxdo:LayoutPanel>
</dxdo:FloatGroup>
</dxdo:DockLayoutManager.FloatGroups>