DataGridViewRowCollection.GetRowState(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the state of the row with the specified index.
public:
virtual System::Windows::Forms::DataGridViewElementStates GetRowState(int rowIndex);
public virtual System.Windows.Forms.DataGridViewElementStates GetRowState (int rowIndex);
abstract member GetRowState : int -> System.Windows.Forms.DataGridViewElementStates
override this.GetRowState : int -> System.Windows.Forms.DataGridViewElementStates
Public Overridable Function GetRowState (rowIndex As Integer) As DataGridViewElementStates
Parameters
- rowIndex
- Int32
The index of the row.
Returns
A bitwise combination of DataGridViewElementStates values indicating the state of the specified row.
Exceptions
rowIndex
is less than zero and greater than the number of rows in the collection minus one.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.