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