25 references to OwningDataGrid
PresentationFramework (25)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (25)
46DataGridColumnHeadersPresenter columnsHeaderPresenter = this.OwningDataGrid.ColumnHeadersPresenter; 90ScrollViewer scrollViewer = this.OwningDataGrid.InternalScrollHost; 132return this.OwningDataGrid.Columns.Count; 140return this.OwningDataGrid.Items.Count; 146if (row >= 0 && row < this.OwningDataGrid.Items.Count && 147column >= 0 && column < this.OwningDataGrid.Columns.Count) 149object item = this.OwningDataGrid.Items[row]; 150DataGridColumn dataGridColumn = this.OwningDataGrid.Columns[column]; 151this.OwningDataGrid.ScrollIntoView(item, dataGridColumn); 152this.OwningDataGrid.UpdateLayout(); 176switch (this.OwningDataGrid.SelectionUnit) 211return this.OwningDataGrid.SelectionMode == DataGridSelectionMode.Extended; 237if ((this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Column) == DataGridHeadersVisibility.Column) 240DataGridColumnHeadersPresenter dataGridColumnHeadersPresenter = this.OwningDataGrid.ColumnHeadersPresenter; 246for (int i = 0; i < this.OwningDataGrid.Columns.Count; i++) 248AutomationPeer peer = dataGridColumnHeadersPresenterPeer.FindOrCreateItemAutomationPeer(this.OwningDataGrid.Columns[i]); 271if ((this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row) 275foreach (object item in this.OwningDataGrid.Items) 329this.OwningDataGrid.SelectedCells.Count == 1 && e.AddedCells.Count == 1) 396int numSelected = this.OwningDataGrid.SelectedItems.Count; 404ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(this.OwningDataGrid.SelectedItem); 444if (this.OwningDataGrid.SelectedCells != null) 446foreach (DataGridCellInfo cellInfo in this.OwningDataGrid.SelectedCells) 466if (this.OwningDataGrid.SelectedItems != null) 468foreach (object item in this.OwningDataGrid.SelectedItems)