28 references to RowOwner
PresentationFramework (28)
System\Windows\Controls\DataGrid.cs (21)
1759
ItemInfo info = ItemInfoFromContainer(cell.
RowOwner
);
2145
newItemIndex = ItemContainerGenerator.IndexFromContainer(cell.
RowOwner
);
2200
beginningEditEventArgs = new DataGridBeginningEditEventArgs(cell.Column, cell.
RowOwner
, editingEventArgs);
2252
var bindingGroup = cell.
RowOwner
.BindingGroup;
2255
_editingRowInfo = ItemInfoFromContainer(cell.
RowOwner
);
2259
cell.
RowOwner
.IsEditing = true;
2343
DataGridCellEditEndingEventArgs cellEditEndingEventArgs = new DataGridCellEditEndingEventArgs(cell.Column, cell.
RowOwner
, cell.EditingElement, DataGridEditAction.Commit);
2363
DataGridRowEditEndingEventArgs rowEditEndingEventArgs = new DataGridRowEditEndingEventArgs(cell.
RowOwner
, DataGridEditAction.Commit);
2368
var bindingGroup = cell.
RowOwner
.BindingGroup;
2391
if (!cell.
RowOwner
.IsEditing)
2510
DataGridCellEditEndingEventArgs cellEditEndingEventArgs = new DataGridCellEditEndingEventArgs(cell.Column, cell.
RowOwner
, cell.EditingElement, DataGridEditAction.Cancel);
2527
DataGridRowEditEndingEventArgs rowEditEndingEventArgs = new DataGridRowEditEndingEventArgs(cell.
RowOwner
, DataGridEditAction.Cancel);
2533
var bindingGroup = cell.
RowOwner
.BindingGroup;
2543
if (!cell.
RowOwner
.IsEditing)
3705
cell.
RowOwner
.IsEditing = false;
4701
MakeFullRowSelection(ItemInfoFromContainer(cell.
RowOwner
), allowsExtendSelect, allowsMinimalSelect);
5452
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
6007
HandleSelectionForRowHeaderAndDetailsInput(newCell.
RowOwner
, /* startDragging = */ false);
6065
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
6119
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
6183
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
System\Windows\Controls\DataGridCell.cs (4)
376
var row =
RowOwner
;
494
var row =
RowOwner
;
622
DataGridPreparingCellForEditEventArgs preparingCellForEditEventArgs = new DataGridPreparingCellForEditEventArgs(Column,
RowOwner
, editingEventArgs, currentEditingElement);
1094
DataGridRow row =
RowOwner
;
System\Windows\Controls\DataGridCellInfo.cs (1)
46
_info = owner.NewItemInfo(cell.RowDataItem, cell.
RowOwner
);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
307
if (cell.
RowOwner
!= rowOwner)
325
if (cell.
RowOwner
== rowOwner)