EmptySpaceItem Class

Adds whitespace to a UI.

Namespace: DevExpress.Xpf.Docking

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


public class EmptySpaceItem :


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:

DXDocking EmptySpaceItem Selected


Show 11 items
See Also