Skip to main content

GridControl.GetMasterGrid() Method

Returns the root GridControl of a master-detail grid.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public GridControl GetMasterGrid()

Returns

Type Description
GridControl

A GridControl object that is the root grid.

Remarks

To learn more, see Master-Detail Data Representation.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetMasterGrid() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also