Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

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

#Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
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
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