25 references to OwningDataGrid
PresentationFramework (25)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (25)
51
DataGridColumnHeadersPresenter columnsHeaderPresenter = this.
OwningDataGrid
.ColumnHeadersPresenter;
95
ScrollViewer scrollViewer = this.
OwningDataGrid
.InternalScrollHost;
137
return this.
OwningDataGrid
.Columns.Count;
145
return this.
OwningDataGrid
.Items.Count;
151
if (row >= 0 && row < this.
OwningDataGrid
.Items.Count &&
152
column >= 0 && column < this.
OwningDataGrid
.Columns.Count)
154
object item = this.
OwningDataGrid
.Items[row];
155
DataGridColumn dataGridColumn = this.
OwningDataGrid
.Columns[column];
156
this.
OwningDataGrid
.ScrollIntoView(item, dataGridColumn);
157
this.
OwningDataGrid
.UpdateLayout();
181
switch (this.
OwningDataGrid
.SelectionUnit)
216
return this.
OwningDataGrid
.SelectionMode == DataGridSelectionMode.Extended;
242
if ((this.
OwningDataGrid
.HeadersVisibility & DataGridHeadersVisibility.Column) == DataGridHeadersVisibility.Column)
245
DataGridColumnHeadersPresenter dataGridColumnHeadersPresenter = this.
OwningDataGrid
.ColumnHeadersPresenter;
251
for (int i = 0; i < this.
OwningDataGrid
.Columns.Count; i++)
253
AutomationPeer peer = dataGridColumnHeadersPresenterPeer.FindOrCreateItemAutomationPeer(this.
OwningDataGrid
.Columns[i]);
276
if ((this.
OwningDataGrid
.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row)
280
foreach (object item in this.
OwningDataGrid
.Items)
334
this.
OwningDataGrid
.SelectedCells.Count == 1 && e.AddedCells.Count == 1)
401
int numSelected = this.
OwningDataGrid
.SelectedItems.Count;
409
ItemAutomationPeer peer = FindOrCreateItemAutomationPeer(this.
OwningDataGrid
.SelectedItem);
449
if (this.
OwningDataGrid
.SelectedCells != null)
451
foreach (DataGridCellInfo cellInfo in this.
OwningDataGrid
.SelectedCells)
471
if (this.
OwningDataGrid
.SelectedItems != null)
473
foreach (object item in this.
OwningDataGrid
.SelectedItems)