Skip to main content
A newer version of this page is available. .

GridControl.ShowOnlyPredefinedDetails Property

Gets or sets whether the Grid Control displays only the relationships that exist in the GridControl.LevelTree.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v21.2.dll

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

Declaration

[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowOnlyPredefinedDetails { get; set; }

Property Value

Type Default Description
Boolean false

true if only the relationships that exist in the GridControl.LevelTree are displayed by the grid; false if all the relationships in the bound data source are displayed by the grid.

Remarks

The GridControl.LevelTree represents a hierarchical structure of nodes that associates master-detail relationships with pattern Views.

The GridControl.LevelTree does not necessarily contain nodes representing all the relationships in the bound data source. In this case, if the ShowOnlyPredefinedDetails property is set to true only the relationships which are referred to by the GridControl.LevelTree are displayed in the grid. If this property is set to false all the relationships in the bound data source will be displayed in the grid.

See Also