Skip to main content
All docs
V21.2

DevExpress v25.1 Update — Your Feedback Matters

Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

How to create floating panels in XAML

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

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