Back to Devexpress

LayoutViewOptionsView.ShowCardExpandButton Property

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

latest2.3 KB
Original Source

LayoutViewOptionsView.ShowCardExpandButton Property

Gets or sets whether expand/collapse buttons are displayed within card captions.

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 ShowCardExpandButton { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowCardExpandButton As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if expand/collapse buttons are displayed within card captions; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowCardExpandButton
LayoutView

.OptionsView .ShowCardExpandButton

|

Remarks

An expand/collapse button allows an end-user to minimize a card by collapsing it and then restore the card.

Expand buttons are displayed within caption bars. The visibility of caption bars is specified by the LayoutViewOptionsView.ShowCardCaption property.

See Also

ShowCardCaption

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace