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