Skip to main content

EmptySpaceItem Class

Adds whitespace to a UI.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v14.2.dll

#Declaration

public class EmptySpaceItem :
    FixedItem

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

DXDocking EmptySpaceItem Selected

#Inheritance

See Also