Skip to main content

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.v24.1.dll

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


public virtual bool EnableMasterViewMode { get; set; }

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
.OptionsDetail .EnableMasterViewMode


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.


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


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

See Also