Base:
property
State
System.Windows.Forms.DataGridViewElement.State
30 references to State
System.Windows.Forms (30)
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
236Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 401Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 590Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 666Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 714Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 977Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
11223OnAddingRow(dataGridViewRow, dataGridViewRow.State, false /*checkFrozenState*/);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (23)
358Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed)) == 0); 360dataGridViewRow.StateInternal = dataGridViewRow.State | DataGridViewElementStates.Visible; 381DataGridViewElementStates rowState = dataGridViewRow.State; 411Debug.Assert(dataGridViewRow.State == SharedRowState(index)); 517DataGridViewElementStates rowTemplateState = rowTemplate.State; 583this.DataGridView.OnAddingRow(dataGridViewRow, dataGridViewRow.State, true /*checkFrozenState*/); // will throw an exception if the addition is illegal 604Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed)) == 0); 605this.rowStates.Add(dataGridViewRow.State); 617Debug.Assert(dataGridViewRow.State == SharedRowState(index)); 835DataGridViewElementStates rowState = rowTemplate.State & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed); 912Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed)) == 0); 913this.rowStates.Add(dataGridViewRow.State); 920Debug.Assert(dataGridViewRow.State == SharedRowState(index)); 1560DataGridViewElementStates rowTemplateState = rowTemplate.State; 1648this.DataGridView.OnInsertingRow(rowIndex, dataGridViewRow, dataGridViewRow.State, ref newCurrentCell, true, 1, force); // will throw an exception if the insertion is illegal 1669Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed)) == 0); 1670this.rowStates.Insert(rowIndex, dataGridViewRow.State); 1682Debug.Assert(dataGridViewRow.State == SharedRowState(rowIndex)); 1849DataGridViewElementStates rowState = rowTemplate.State & ~(DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed); 1943Debug.Assert((dataGridViewRow.State & (DataGridViewElementStates.Selected | DataGridViewElementStates.Displayed)) == 0); 1944this.rowStates.Insert(rowIndexInserted, dataGridViewRow.State); 1953Debug.Assert(dataGridViewRow.State == SharedRowState(rowIndexInserted)); 2346this.rowStates[index] = dataGridViewRow.State;