28 references to OwningDataGrid
PresentationFramework (28)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (28)
88
if (!this.
OwningDataGrid
.IsReadOnly)
146
IList<DataGridColumn> columns =
OwningDataGrid
.Columns;
226
this.
OwningDataGrid
.ScrollIntoView(item);
233
IEditableCollectionView iecv = (IEditableCollectionView)this.
OwningDataGrid
.Items;
236
success = this.
OwningDataGrid
.CommitEdit();
240
if (this.
OwningDataGrid
.Columns.Count > 0)
242
DataGridCell cell = this.
OwningDataGrid
.TryFindCell(item, this.
OwningDataGrid
.Columns[0]);
245
this.
OwningDataGrid
.UnselectAll();
247
success = this.
OwningDataGrid
.BeginEdit();
267
this.
OwningDataGrid
.ScrollIntoView(Item);
278
return this.
OwningDataGrid
.SelectedItems.Contains(Item);
299
if (this.
OwningDataGrid
.SelectedItems.Contains(item))
306
if (this.
OwningDataGrid
.SelectionMode == DataGridSelectionMode.Single &&
307
this.
OwningDataGrid
.SelectedItems.Count > 0)
312
if (this.
OwningDataGrid
.Items.Contains(item))
314
this.
OwningDataGrid
.SelectedItems.Add(item);
328
if (this.
OwningDataGrid
.SelectedItems.Contains(item))
330
this.
OwningDataGrid
.SelectedItems.Remove(item);
343
this.
OwningDataGrid
.SelectedItem = Item;
354
return this.
OwningDataGrid
.SelectionMode == DataGridSelectionMode.Extended;
368
DataGrid dataGrid = this.
OwningDataGrid
;
381
for (int i = 0; i < this.
OwningDataGrid
.Columns.Count; i++)
435
childItems =
OwningDataGrid
.Columns;
537
IList<DataGridColumn> columns =
OwningDataGrid
.Columns;
561
return (this.
OwningDataGrid
!= null &&
562
(this.
OwningDataGrid
.SelectionUnit == DataGridSelectionUnit.FullRow ||
563
this.
OwningDataGrid
.SelectionUnit == DataGridSelectionUnit.CellOrRowHeader));