VerticalGridRowCollection.Item[String] Property
Returns the row with the specified name, field name or caption.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
ID_FieldName_Caption | String | A String value that specifies the row’s name, field name or caption. |
Property Value
Type | Description |
---|---|
VerticalGridRow | A VerticalGridRow object that represents a row with the specified name, field name or caption. null (Nothing in Visual Basic) if the row isn’t found. |
Remarks
The Item property allows you to obtain a row by specifying its name, field name or caption. If the row’s Name property matches the ID_FieldName_Caption parameter, it is returned by the Item property.
If the row isn’t found, a search is performed for a data row (a record in the vertical grid) whose VerticalGridDataRow.FieldName property matched the search parameter. Since multiple rows can be bound to the same data source field, the first found row is returned.
Finally, if the row isn’t found, the Item property returns the first found row whose Caption property matches the search parameter. Otherwise, the Item property returns null.