Back to Devexpress

GridControl.ShowOnlyPredefinedDetails Property

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-d799b41a.md

latest2.5 KB
Original Source

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

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

Declaration

csharp
[Browsable(true)]
[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowOnlyPredefinedDetails { get; set; }
vb
<Browsable(True)>
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Overridable Property ShowOnlyPredefinedDetails As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

LevelTree

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace