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