FloatGroupCollection Class

Represents a collection of FloatGroup objects.

Namespace: DevExpress.Xpf.Docking

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

Declaration

public class FloatGroupCollection :
    BaseLockableCollection<FloatGroup>,
    IDisposable
Public Class FloatGroupCollection
    Inherits BaseLockableCollection(Of FloatGroup)
    Implements IDisposable

Related API Members

The following members accept/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).

Examples

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>

Inheritance

Object
Collection<FloatGroup>
ObservableCollection<FloatGroup>
DevExpress.Xpf.Docking.BaseLockableCollection<FloatGroup>
FloatGroupCollection
See Also