GridOptionsDetail.EnableMasterViewMode Property

Gets or sets a value specifying whether the View's details can be displayed.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true, to allow expanding master rows ; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableMasterViewMode
AdvBandedGridView
.OptionsDetail.EnableMasterViewMode
BandedGridView
.OptionsDetail.EnableMasterViewMode
GridView
.OptionsDetail.EnableMasterViewMode

Remarks

Initially, all master row within a View are collapsed. They can be expanded either by end-users or in code in order to make their detail Views visible. This functionality is not available when the EnableMasterViewMode property is set to false.

Please refer to the Master-Detail Relationships topic for details on how master rows can be expanded by end-users and in code.

NOTE

When pixel-based vertical row scrolling is enabled, the Master-Detail Mode is forcibly disabled. See GridOptionsBehavior.AllowPixelScrolling, to learn more.

NOTE

Master-detail data presentation is not supported in server mode.

See Also