wpf-devexpress-dot-xpf-dot-docking-641de7aa.md
Represents a collection of FloatGroup objects.
Namespace : DevExpress.Xpf.Docking
Assembly : DevExpress.Xpf.Docking.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public class FloatGroupCollection :
BaseLockableCollection<FloatGroup>,
IDisposable
Public Class FloatGroupCollection
Inherits BaseLockableCollection(Of FloatGroup)
Implements IDisposable
The following members return FloatGroupCollection objects:
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).
The following example shows how to create floating panels. To create a floating panel:
A FloatGroup is added to the DockLayoutManager.FloatGroups collection
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>
Object Collection<FloatGroup> ObservableCollection<FloatGroup> DevExpress.Xpf.Docking.BaseLockableCollection<FloatGroup> FloatGroupCollection
See Also