Skip to main content

GridControl.GetMasterRowHandle() Method

Returns the handle of the master row corresponding to the current grid.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public int GetMasterRowHandle()

Returns

Type Description
Int32

The handle of the master row.

Remarks

For the master view, the GetMasterRowHandle returns the DataControlBase.InvalidRowHandle.

To learn more, see Master-Detail Data Representation.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetMasterRowHandle() 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