windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-3170a70d.md
Gets or sets a value specifying whether master rows display master-detail expand buttons.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowDetailButtons { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowDetailButtons As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display master-detail expand buttons; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowDetailButtons |
|---|---|
| GridView |
.OptionsView .ShowDetailButtons
|
Note that detail buttons can be displayed only when the GridOptionsDetail.EnableMasterViewMode option is enabled and if at least a single relation is defined to the View’s data source.
The actual visibility of buttons can be obtained using the GridView.IsShowDetailButtons property.
See Also