Skip to main content

BaseLayoutItem.ShowCaption Property

Gets or sets whether the item's caption is visible. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

#Declaration

[XtraSerializableProperty]
public bool ShowCaption { get; set; }

#Property Value

Type Description
Boolean

true if the item's caption is visible; otherwise, false.

#Remarks

You can specify captions for items via the BaseLayoutItem.Caption property.

For LayoutControlItem objects, captions are always visible. You can hide them via the ShowCaption property, if required.

To display captions for LayoutGroup objects, set the ShowCaption property to True and the LayoutGroup.GroupBorderStyle property to Group or GroupBox.

See Also