28 references to OwningDataGrid
PresentationFramework (28)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (28)
83if (!this.OwningDataGrid.IsReadOnly) 141IList<DataGridColumn> columns = OwningDataGrid.Columns; 221this.OwningDataGrid.ScrollIntoView(item); 228IEditableCollectionView iecv = (IEditableCollectionView)this.OwningDataGrid.Items; 231success = this.OwningDataGrid.CommitEdit(); 235if (this.OwningDataGrid.Columns.Count > 0) 237DataGridCell cell = this.OwningDataGrid.TryFindCell(item, this.OwningDataGrid.Columns[0]); 240this.OwningDataGrid.UnselectAll(); 242success = this.OwningDataGrid.BeginEdit(); 262this.OwningDataGrid.ScrollIntoView(Item); 273return this.OwningDataGrid.SelectedItems.Contains(Item); 294if (this.OwningDataGrid.SelectedItems.Contains(item)) 301if (this.OwningDataGrid.SelectionMode == DataGridSelectionMode.Single && 302this.OwningDataGrid.SelectedItems.Count > 0) 307if (this.OwningDataGrid.Items.Contains(item)) 309this.OwningDataGrid.SelectedItems.Add(item); 323if (this.OwningDataGrid.SelectedItems.Contains(item)) 325this.OwningDataGrid.SelectedItems.Remove(item); 338this.OwningDataGrid.SelectedItem = Item; 349return this.OwningDataGrid.SelectionMode == DataGridSelectionMode.Extended; 363DataGrid dataGrid = this.OwningDataGrid; 376for (int i = 0; i < this.OwningDataGrid.Columns.Count; i++) 430childItems = OwningDataGrid.Columns; 532IList<DataGridColumn> columns = OwningDataGrid.Columns; 556return (this.OwningDataGrid != null && 557(this.OwningDataGrid.SelectionUnit == DataGridSelectionUnit.FullRow || 558this.OwningDataGrid.SelectionUnit == DataGridSelectionUnit.CellOrRowHeader));