Two grid controls are included in this sample to demonstrate how to setup custom details in either XAML or code. Note that when using a DataControlDetailDescriptor, the template is displayed above the detail grid. This is done by assigning the same template to the detail descriptors’ DetailDescriptorBase.ContentTemplate properties. Grid Controls in this sample use a TabViewDetailDescriptor with both ContentDetailDescriptor and DataControlDetailDescriptor showing the same custom content. While the memo field displays data from the master record, the chart control is bound to the detail data table. This example demonstrates how to display a memo field and a ChartControl within grid details. Use this object to display multiple details within a tabbed container. 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. Use this object to display any set of controls within the Detail View. When using a GridControl, Detail View synchronization and Master View integration become avialable. Use this object to display another GridControl or any DataControlBase descendant within the Detail View.
You need to initialize it with a proper DetailDescriptorBase descendant as outlined in the following table. This property is crucial to setting up the master-detail hierarchy within the GridControl. Public DetailDescriptorBase DetailDescriptor Public Property DetailDescriptor As DetailDescriptorBase Property Value TypeĪ DetailDescriptorBase descendant specifying which details to display for this GridControl.