4 writes to _currentCellContainer
PresentationFramework (4)
System\Windows\Controls\DataGrid.cs (4)
2923
dataGrid.
_currentCellContainer
= null;
3012
_currentCellContainer
= TryFindCell(currentCell);
3041
_currentCellContainer
= value;
5374
_currentCellContainer
= null;
13 references to _currentCellContainer
PresentationFramework (13)
System\Windows\Controls\DataGrid.cs (13)
2595
((
_currentCellContainer
== null) || !
_currentCellContainer
.IsEditing); // Not editing a cell
2904
if (dataGrid.
_currentCellContainer
!= null)
2913
dataGrid.EndEdit(CommitEditCommand, dataGrid.
_currentCellContainer
, DataGridEditingUnit.Row, /* exitEditingMode = */ true);
2915
else if (dataGrid.
_currentCellContainer
.IsEditing)
2918
dataGrid.EndEdit(CommitEditCommand, dataGrid.
_currentCellContainer
, DataGridEditingUnit.Cell, /* exitEditingMode = */ true);
2922
var oldCellContainer = dataGrid.
_currentCellContainer
;
3007
if (
_currentCellContainer
== null)
3016
return
_currentCellContainer
;
3021
if ((
_currentCellContainer
!= value) &&
4779
if (
_currentCellContainer
!= null &&
_currentCellContainer
.IsEditing)
4782
EndEdit(CommitEditCommand,
_currentCellContainer
, DataGridEditingUnit.Cell, /* exitEditingMode = */ true);