BaseView.GetRow(Int32) Method
Returns an object representing a row specified by its handle.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value representing the desired row handle. Row handles are not data source indexes, see the Accessing Rows in Code. Row Handles section of the “Rows” article for more information. |
#Returns
Type | Description |
---|---|
Object | An object representing a specific row. |
#Remarks
As implemented in the BaseView class, the GetRow method returns null. This method is implemented in the BaseView class’s descendants to return an object which represents a row in the underlying data source with the specified row handle. For instance, this method is overridden by the ColumnView class. See the ColumnView.GetRow method for more information.
Note
In Instant Feedback Mode, the Get
- If a row has not been loaded, this method returns a DevExpress.
Data. object.Not Loaded Object - If a row has been loaded, this method returns an object used by the Grid
Control to retrieve row values. We suggest that you use the ColumnView. method to retrieve row values in Instant Feedback Mode.Get Row Cell Value
To learn whether a row has been loaded, see Column
Note
Detail pattern Views do not contain data and they are never displayed within Xtra
- Grid
Control. - returns the top most View in a grid;Main View - Grid
Control. - returns the focused View;Focused View - Grid
Control. - returns the currently maximized View;Default View - the sender parameter of View specific events;
- Grid
View. - returns a detail clone View for a specific master row.Get Detail View