'宣言 Public ReadOnly Property DataIndex As System.Integer
public System.int DataIndex {get;}
'宣言 Public ReadOnly Property DataIndex As System.Integer
public System.int DataIndex {get;}
This property returns -1 if the row is a fixed or node row.
If the grid is bound to a data source, the return value can be used as an indexer into the grid's data source to obtain a reference to the item bound to the row.
You can also obtain the underlying data object directly using the row's DataSource property.