EmptySpaceItem Class
In This Article
Adds whitespace to a UI.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v14.2.dll
#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:
#Inheritance
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
DevExpress.Xpf.Docking.psvFrameworkElement
BaseLayoutItem
FixedItem
EmptySpaceItem
#Extension Methods
See Also