windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview.md
Gets or sets whether a card’s caption bar is visible.
Namespace : DevExpress.XtraGrid.Views.Layout
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowCardCaption { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowCardCaption As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if a card’s caption is visible; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowCardCaption |
|---|---|
| LayoutView |
.OptionsView .ShowCardCaption
|
By default, a card’s caption bar displays text detailing the card’s ordinal number and the total number of cards. Use the LayoutView.CardCaptionFormat property to specify the format string used to generate caption text.
The caption bar also contains the expand/collapse button. If the caption bar is hidden, an end-user is not able to collapse and restore cards.
See Also