Skip to main content
Tab

LayoutItemBase.ShowCaption Property

Gets or sets a value that defines whether to show or hide the layout item’s caption.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean ShowCaption { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

true, to show layout item captions; otherwise, false.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

If the ShowCaption property value is set to “Default” and the item doesn’t belong to a tabbed group, the layout item caption will be shown. If the layout item belongs to a tabbed group, the caption will be hidden and displayed only within the owning tab.

See Also