28 references to RowOwner
PresentationFramework (28)
System\Windows\Controls\DataGrid.cs (21)
1756
ItemInfo info = ItemInfoFromContainer(cell.
RowOwner
);
2139
newItemIndex = ItemContainerGenerator.IndexFromContainer(cell.
RowOwner
);
2194
beginningEditEventArgs = new DataGridBeginningEditEventArgs(cell.Column, cell.
RowOwner
, editingEventArgs);
2246
var bindingGroup = cell.
RowOwner
.BindingGroup;
2249
_editingRowInfo = ItemInfoFromContainer(cell.
RowOwner
);
2253
cell.
RowOwner
.IsEditing = true;
2337
DataGridCellEditEndingEventArgs cellEditEndingEventArgs = new DataGridCellEditEndingEventArgs(cell.Column, cell.
RowOwner
, cell.EditingElement, DataGridEditAction.Commit);
2357
DataGridRowEditEndingEventArgs rowEditEndingEventArgs = new DataGridRowEditEndingEventArgs(cell.
RowOwner
, DataGridEditAction.Commit);
2362
var bindingGroup = cell.
RowOwner
.BindingGroup;
2385
if (!cell.
RowOwner
.IsEditing)
2504
DataGridCellEditEndingEventArgs cellEditEndingEventArgs = new DataGridCellEditEndingEventArgs(cell.Column, cell.
RowOwner
, cell.EditingElement, DataGridEditAction.Cancel);
2521
DataGridRowEditEndingEventArgs rowEditEndingEventArgs = new DataGridRowEditEndingEventArgs(cell.
RowOwner
, DataGridEditAction.Cancel);
2527
var bindingGroup = cell.
RowOwner
.BindingGroup;
2537
if (!cell.
RowOwner
.IsEditing)
3699
cell.
RowOwner
.IsEditing = false;
4695
MakeFullRowSelection(ItemInfoFromContainer(cell.
RowOwner
), allowsExtendSelect, allowsMinimalSelect);
5446
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
6001
HandleSelectionForRowHeaderAndDetailsInput(newCell.
RowOwner
, /* startDragging = */ false);
6059
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
6113
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
6177
HandleSelectionForRowHeaderAndDetailsInput(cell.
RowOwner
, /* startDragging = */ false);
System\Windows\Controls\DataGridCell.cs (4)
376
var row =
RowOwner
;
494
var row =
RowOwner
;
619
DataGridPreparingCellForEditEventArgs preparingCellForEditEventArgs = new DataGridPreparingCellForEditEventArgs(Column,
RowOwner
, editingEventArgs, currentEditingElement);
1091
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)