LayoutPanel Class
Represents a dock panel.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v18.2.dll
Declaration
Related API Members
The following members return LayoutPanel objects:
Remarks
The LayoutPanel object represents a regular dock panel:
To specify a content for a panel, use the ContentItem.Content property. In XAML, an element added between the start and end LayoutPanel tags is used to initialize the ContentItem.Content property.
Note
Do not combine dock and layout items within a single group.
Do not combine groups containing dock items with groups containing layout items. If you need to arrange layout items next to dock items, add the layout items into a dock panel (a
LayoutPanel
object).Do not use dock items outside the DockLayoutManager control.
Note
Do not place a DocumentPanel into a LayoutPanel
, and vice versa.
See Layout (Dock) Panels to learn more.
For an example of creating various kinds of panels, see the How to create a simple layout of dock panes help topic.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the LayoutPanel class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.