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.v24.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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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