[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Views
   [Expand]Grid View Data Layout
   [Expand]Binding to Data
   [Collapse]Master-Detail Data Representation
     Data Grid in Details
     Custom Content in Details
     Tabbed View for Details
     Data Dependent Details
     Master-Detail Mode Limitations
     Master-Detail Member Table
   [Expand]Data Editing and Validation
   [Expand]Grouping
   [Expand]Selection
   [Expand]Filtering and Searching
   [Expand]Sorting
   [Expand]Data Summaries
   [Expand]Paging and Scrolling
   [Expand]Focus and Navigation
   [Expand]Conditional Formatting
   [Expand]Drag-and-Drop
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Expand]Miscellaneous
   [Expand]Performance Improvement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Master-Detail Member Table

This topic lists the key members that you will use when building master-detail hierarchies using the GridControl.

Expanded Enabling Detail Views

Class / Member Description
TableView.AllowMasterDetail Gets or sets whether end-users can access this View's details.
GridControl.DetailDescriptor Enables master-detail representation within this GridControl.

Expanded Data Grid in Detail

Class / Member Description
DataControlDetailDescriptor Represents a detail that displays a grid control and natively integrates with the master grid.
DataControlDetailDescriptor.ItemsSourcePath Gets or sets the detail grid's data binding by specifying the path relative to the master grid's records.
DataViewBase.DetailHeaderContent Gets or sets the detail section's header content.

Expanded Custom Content in Detail

Class / Member Description
ContentDetailDescriptor Represents a Detail with freely-customizable content.
DetailDescriptorBase.ContentTemplate Gets or sets the template specifying the entire or partial content of a Detail.
ContentDetailDescriptor.HeaderContent Gets or sets the detail section's header content. This is a dependency property.

Expanded Tabbed View for Details

Class / Member Description
TabViewDetailDescriptor Displays multiple Details within a tabbed container.
MultiDetailDescriptor.DetailDescriptors Provides access to Detail Descriptors to be displayed by this multi-detail container.

Expanded Expand and Collapse Master Rows

Class / Member Description
GridControl.ExpandMasterRow Expands the specified master row and, optionally, shows the specified Detail.
GridControl.CollapseMasterRow Collapses the detail section for the specified row.
GridControl.SetMasterRowExpanded Changes the expanded state for a specified master row and, optionally, shows a specified Detail.
GridControl.IsMasterRowExpanded Determines the specified master row's expanded state and, optionally, the specified Detail's visibility.
GridControl.MasterRowExpanding Enables you to specify whether a master row may be expanded.
GridControl.MasterRowCollapsing Enables you to specify whether a master row may be collapsed.
GridControl.MasterRowExpanded Fires immediately after a master row has been expanded.
GridControl.MasterRowCollapsed Fires immediately after a master row has been collapsed.
TableView.IsDetailButtonVisibleBinding Gets or sets the binding that determines which rows display detail expand buttons.

Expanded Obtain Details

Class / Member Description
GridControl.GetDetail Returns the detail data control identified by the master row and its Detail Descriptor.
GridControl.GetVisibleDetail Returns the currently visible detail data control identified by its master row.
GridControl.GetVisibleDetailDescriptor Returns the Detail Descriptor corresponding to the currently expanded detail of the specified master row.

Expanded Printing and Exporting

Class / Member Description
TableView.AllowPrintDetails Gets or sets whether View's details can be printed. This is a dependency property.
TableView.AllowPrintEmptyDetails Gets or sets whether or not to print/export empty details. This is a dependency property.
TableView.PrintDetailTopIndent Gets or sets the top print detail indent. This is a dependency property.
TableView.PrintDetailBottomIndent Gets or sets the bottom print detail indent. This is a dependency property.

Expanded See Also

Is this topic helpful?​​​​​​​