GridControl.GetMasterRowHandle() Method
Returns the handle of the master row corresponding to the current grid.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
#Returns
Type | Description |
---|---|
Int32 | The handle of the master row. |
#Remarks
For the master view, the GetMasterRowHandle
returns the DataControlBase.InvalidRowHandle.
To obtain a TableView instance that owns the currently focused row, use the DataViewBase.FocusedView property.
See Master-Detail Data Representation for more information.
#Related GitHub Examples
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.