windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdetail-196a1b67.md
Gets or sets a value specifying whether the View’s details can be displayed.
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 EnableMasterViewMode { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property EnableMasterViewMode As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true , to allow expanding master rows ; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to EnableMasterViewMode |
|---|---|
| GridView |
.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.
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