4 writes to _currentCellContainer
PresentationFramework (4)
System\Windows\Controls\DataGrid.cs (4)
2926
dataGrid.
_currentCellContainer
= null;
3015
_currentCellContainer
= TryFindCell(currentCell);
3044
_currentCellContainer
= value;
5377
_currentCellContainer
= null;
13 references to _currentCellContainer
PresentationFramework (13)
System\Windows\Controls\DataGrid.cs (13)
2598
((
_currentCellContainer
== null) || !
_currentCellContainer
.IsEditing); // Not editing a cell
2907
if (dataGrid.
_currentCellContainer
!= null)
2916
dataGrid.EndEdit(CommitEditCommand, dataGrid.
_currentCellContainer
, DataGridEditingUnit.Row, /* exitEditingMode = */ true);
2918
else if (dataGrid.
_currentCellContainer
.IsEditing)
2921
dataGrid.EndEdit(CommitEditCommand, dataGrid.
_currentCellContainer
, DataGridEditingUnit.Cell, /* exitEditingMode = */ true);
2925
var oldCellContainer = dataGrid.
_currentCellContainer
;
3010
if (
_currentCellContainer
== null)
3019
return
_currentCellContainer
;
3024
if ((
_currentCellContainer
!= value) &&
4782
if (
_currentCellContainer
!= null &&
_currentCellContainer
.IsEditing)
4785
EndEdit(CommitEditCommand,
_currentCellContainer
, DataGridEditingUnit.Cell, /* exitEditingMode = */ true);