28 references to RowOwner
PresentationFramework (28)
System\Windows\Controls\DataGrid.cs (21)
1756ItemInfo info = ItemInfoFromContainer(cell.RowOwner); 2139newItemIndex = ItemContainerGenerator.IndexFromContainer(cell.RowOwner); 2194beginningEditEventArgs = new DataGridBeginningEditEventArgs(cell.Column, cell.RowOwner, editingEventArgs); 2246var bindingGroup = cell.RowOwner.BindingGroup; 2249_editingRowInfo = ItemInfoFromContainer(cell.RowOwner); 2253cell.RowOwner.IsEditing = true; 2337DataGridCellEditEndingEventArgs cellEditEndingEventArgs = new DataGridCellEditEndingEventArgs(cell.Column, cell.RowOwner, cell.EditingElement, DataGridEditAction.Commit); 2357DataGridRowEditEndingEventArgs rowEditEndingEventArgs = new DataGridRowEditEndingEventArgs(cell.RowOwner, DataGridEditAction.Commit); 2362var bindingGroup = cell.RowOwner.BindingGroup; 2385if (!cell.RowOwner.IsEditing) 2504DataGridCellEditEndingEventArgs cellEditEndingEventArgs = new DataGridCellEditEndingEventArgs(cell.Column, cell.RowOwner, cell.EditingElement, DataGridEditAction.Cancel); 2521DataGridRowEditEndingEventArgs rowEditEndingEventArgs = new DataGridRowEditEndingEventArgs(cell.RowOwner, DataGridEditAction.Cancel); 2527var bindingGroup = cell.RowOwner.BindingGroup; 2537if (!cell.RowOwner.IsEditing) 3699cell.RowOwner.IsEditing = false; 4695MakeFullRowSelection(ItemInfoFromContainer(cell.RowOwner), allowsExtendSelect, allowsMinimalSelect); 5446HandleSelectionForRowHeaderAndDetailsInput(cell.RowOwner, /* startDragging = */ false); 6001HandleSelectionForRowHeaderAndDetailsInput(newCell.RowOwner, /* startDragging = */ false); 6059HandleSelectionForRowHeaderAndDetailsInput(cell.RowOwner, /* startDragging = */ false); 6113HandleSelectionForRowHeaderAndDetailsInput(cell.RowOwner, /* startDragging = */ false); 6177HandleSelectionForRowHeaderAndDetailsInput(cell.RowOwner, /* startDragging = */ false);
System\Windows\Controls\DataGridCell.cs (4)
376var row = RowOwner; 494var row = RowOwner; 619DataGridPreparingCellForEditEventArgs preparingCellForEditEventArgs = new DataGridPreparingCellForEditEventArgs(Column, RowOwner, editingEventArgs, currentEditingElement); 1091DataGridRow row = RowOwner;
System\Windows\Controls\DataGridCellInfo.cs (1)
46_info = owner.NewItemInfo(cell.RowDataItem, cell.RowOwner);
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
307if (cell.RowOwner != rowOwner) 325if (cell.RowOwner == rowOwner)