DataGridViewRow.State Property
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 current state of the row.
public:
virtual property System::Windows::Forms::DataGridViewElementStates State { System::Windows::Forms::DataGridViewElementStates get(); };
public override System.Windows.Forms.DataGridViewElementStates State { get; }
member this.State : System.Windows.Forms.DataGridViewElementStates
Public Overrides ReadOnly Property State As DataGridViewElementStates
Property Value
A bitwise combination of DataGridViewElementStates values indicating the row state.
Exceptions
The row is in a DataGridView control and is a shared row.
Remarks
You cannot use this property with shared rows because shared rows do not store their state locally. To get the state of a shared row, use the GetState method.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.