Back to Devexpress

LayoutViewOptionsView.ShowCardCaption Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview.md

latest2.7 KB
Original Source

LayoutViewOptionsView.ShowCardCaption Property

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowCardCaption { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowCardCaption As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if a card’s caption is visible; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowCardCaption
LayoutView

.OptionsView .ShowCardCaption

|

Remarks

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

CardCaptionFormat

GetCardCollapsed(Int32)

SetCardCollapsed(Int32, Boolean)

ShowCardBorderIfCaptionHidden

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace