Skip to main content

GridControl.DetailDescriptor Property

Enables master-detail representation within this GridControl.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.dll

#Declaration

public DetailDescriptorBase DetailDescriptor { get; set; }

#Property Value

Type Description
DetailDescriptorBase

A DetailDescriptorBase descendant specifying which details to display for this GridControl.

#Remarks

This property is crucial to setting up the master-detail hierarchy within the GridControl. You need to initialize it with a proper DetailDescriptorBase descendant as outlined in the following table.

Detail Descriptor Purpose
DataControlDetailDescriptor Use this object to display another GridControl or any DataControlBase descendant within the Detail View. When using a GridControl, Detail View synchronization and Master View integration become avialable.
ContentDetailDescriptor Use this object to display any set of controls within the Detail View. You can also use it to display a GridControl if you don't want Detail View synchronization or Master View Integration features that become enabled when using the DataControlDetailDescriptor.
TabViewDetailDescriptor Use this object to display multiple details within a tabbed container.
See Also