EmptySpaceItem Class
Adds whitespace to a UI.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation
Declaration
Remarks
An EmptySpaceItem provides whitespace, similar to the Margin property. But unlike a margin, an EmptySpaceItem object is not bound to a specific UI element. Structurally, an EmptySpaceItem is an independent rectangle with invisible bounds that has its own height and width.
To add an Empty Space Item via code, place a new instance of the EmptySpaceItem class into the DockLayoutManager.Items collection.
The figure below shows a selected EmptySpaceItem when in customization mode:
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EmptySpaceItem 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.