24 references to IsCurrentCellDirty
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (4)
2875
return _dataGridViewState1[State1_EditedRowChanged] ||
IsCurrentCellDirty
;
2879
QuestionEventArgs qe = new(_dataGridViewState1[State1_EditedRowChanged] ||
IsCurrentCellDirty
);
2907
||
IsCurrentCellDirty
3893
if (
IsCurrentCellDirty
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
3169
bool currentCellDirty =
IsCurrentCellDirty
;
3850
if (!IsCurrentCellInEditMode || !
IsCurrentCellDirty
)
3868
|| (_dataGridViewState1[State1_CurrentCellInEditMode] && ((IDataGridViewEditingCell)CurrentCellInternal).EditingCellValueChanged)) ==
IsCurrentCellDirty
3871
if (
IsCurrentCellDirty
)
14573
if (
IsCurrentCellDirty
&& NewRowIndex == _ptCurrentCell.Y)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (2)
792
if (DataGridView.
IsCurrentCellDirty
&& DataGridView.ShowEditingIcon)
948
if (DataGridView.
IsCurrentCellDirty
&& DataGridView.ShowEditingIcon)
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (12)
242
Assert.Equal(expectedValueChanged, dataGridView.
IsCurrentCellDirty
);
251
Assert.Equal(expectedValueChanged, dataGridView.
IsCurrentCellDirty
);
268
Assert.True(dataGridView.
IsCurrentCellDirty
);
277
Assert.True(dataGridView.
IsCurrentCellDirty
);
374
Assert.Equal(expectedValueChanged, dataGridView.
IsCurrentCellDirty
);
383
Assert.Equal(expectedValueChanged, dataGridView.
IsCurrentCellDirty
);
400
Assert.True(dataGridView.
IsCurrentCellDirty
);
409
Assert.True(dataGridView.
IsCurrentCellDirty
);
1400
Assert.True(dataGridView.
IsCurrentCellDirty
);
1408
Assert.True(dataGridView.
IsCurrentCellDirty
);
1434
Assert.True(dataGridView.
IsCurrentCellDirty
);
1442
Assert.True(dataGridView.
IsCurrentCellDirty
);
WinFormsControlsTest (1)
DataGridViewInVirtualModeTest.cs (1)
157
e.Response = dataGridView1.
IsCurrentCellDirty
;