Back to Devexpress

GridOptionsDetail.AllowOnlyOneMasterRowExpanded Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdetail-a2172e26.md

latest2.3 KB
Original Source

GridOptionsDetail.AllowOnlyOneMasterRowExpanded Property

Gets or sets a value specifying whether several master rows can be expanded simultaneously.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowOnlyOneMasterRowExpanded { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowOnlyOneMasterRowExpanded As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if expanding a master row collapses the previously expanded row; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowOnlyOneMasterRowExpanded
GridView

.OptionsDetail .AllowOnlyOneMasterRowExpanded

|

Remarks

For detailed information on expanding and collapsing master rows, see the Expanding and Collapsing Master Rows topic.

See Also

KeepGroupExpandedOnSorting

Master-Detail Relationships

GridOptionsDetail Class

GridOptionsDetail Members

DevExpress.XtraGrid.Views.Grid Namespace