1 instantiation of DataGridRow
PresentationFramework (1)
src\Framework\System\Windows\Controls\DataGrid.cs (1)
815return new DataGridRow();
257 references to DataGridRow
PresentationFramework (230)
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (2)
372internal void RaiseAutomationRowInvokeEvents(DataGridRow row) 383internal void RaiseAutomationCellInvokeEvents(DataGridColumn column, DataGridRow row)
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (2)
422DataGridRow row = GetWrapper() as DataGridRow;
src\Framework\System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (3)
21public DataGridRowAutomationPeer(DataGridRow owner) 125private DataGridRow OwningDataGridRow 129return (DataGridRow)Owner;
src\Framework\System\Windows\Controls\DataGrid.cs (74)
620DataGridRow row = container as DataGridRow; 637ContainerTracking<DataGridRow> tracker = _rowTrackingRoot; 806return item is DataGridRow; 827DataGridRow row = (DataGridRow)element; 838row.ClearValue(DataGridRow.IsNewItemPropertyKey); 857DataGridRow row = (DataGridRow)element; 861row.ClearValue(DataGridRow.IsNewItemPropertyKey); 876ContainerTracking<DataGridRow> tracker = _rowTrackingRoot; 1154var row = e.Row; 1164var row = (DataGridRow)arg; 1185var row = e.Row; 1305_itemAttachedStorage.SetValue(item, DataGridRow.DetailsVisibilityProperty, detailsVisibility); 1307var row = (DataGridRow)ItemContainerGenerator.ContainerFromItem(item); 1322if (_itemAttachedStorage.TryGetValue(item, DataGridRow.DetailsVisibilityProperty, out detailsVisibility)) 1327var row = (DataGridRow)ItemContainerGenerator.ContainerFromItem(item); 1351_itemAttachedStorage.ClearValue(item, DataGridRow.DetailsVisibilityProperty); 1353var row = (DataGridRow)ItemContainerGenerator.ContainerFromItem(item); 1356row.ClearValue(DataGridRow.DetailsVisibilityProperty); 1641DataGridRow row = _rowTrackingRoot.Container; 1662DataGridRow row = ContainerFromItemInfo(info) as DataGridRow; 1667row = ContainerFromItemInfo(info) as DataGridRow; 1817DataGridRow row = (DataGridRow)ItemContainerGenerator.ContainerFromIndex(info.Index); 1919DataGridRow row = _rowTrackingRoot.Container; 1936DataGridRow row = _rowTrackingRoot.Container; 3088internal bool IsCurrent(DataGridRow row, DataGridColumn column=null) 3816DataGridRow newItemPlaceholderRow = (DataGridRow)ItemContainerGenerator.ContainerFromItem(CollectionView.NewItemPlaceholder); 3968internal void OnLoadingRowDetailsWrapper(DataGridRow row) 3981internal void OnUnloadingRowDetailsWrapper(DataGridRow row) 4025var row = e.Row; 4092ContainerTracking<DataGridRow> tracker = _rowTrackingRoot; 4095DataGridRow row = tracker.Container; 4611ContainerTracking<DataGridRow> rowTracker = _rowTrackingRoot; 4629ContainerTracking<DataGridRow> rowTracker = _rowTrackingRoot; 4632DataGridRow row = rowTracker.Container; 4765internal void HandleSelectionForRowHeaderAndDetailsInput(DataGridRow row, bool startDragging) 5895DataGridRow focusRow = DataGridHelper.FindVisualParent<DataGridRow>(focusContainer); 6191DataGridRow startingRow = startingElement as DataGridRow; 6194startingRow = DataGridHelper.FindVisualParent<DataGridRow>(startingElement); 6209DataGridRow targetRowElement = targetElement as DataGridRow; 6212targetRowElement = DataGridHelper.FindVisualParent<DataGridRow>(targetElement); 6278DataGridRow row = MouseOverRow; 6292DataGridRow row = MouseOverRow; 6316DataGridRow row = GetRowNearMouse(); 6405DataGridRow parentRow = rowHeader.ParentRow; 6420private DataGridRow GetRowNearMouse() 6433DataGridRow row = null; 6438row = ItemContainerGenerator.ContainerFromIndex(i) as DataGridRow; 6442row = itemsHost.Children[i] as DataGridRow; 6482DataGridRow row = null; 6487row = ItemContainerGenerator.ContainerFromIndex(i) as DataGridRow; 6491row = itemsHost.Children[i] as DataGridRow; 6559private static bool CalculateCellDistance(FrameworkElement cell, DataGridRow rowOwner, Panel itemsHost, Rect itemsHostBounds, bool isMouseInCorner, out double distance) 6613private DataGridRow MouseOverRow 6618DataGridRow row = null; 6622row = DataGridHelper.FindVisualParent<DataGridRow>(element); 7044DataGridRow row = (DataGridRow)info.Container; 7057DataGridRow row = (DataGridRow)ItemContainerGenerator.ContainerFromItem(item); 8574ContainerTracking<DataGridRow> rowTracker = _rowTrackingRoot; 8670private ContainerTracking<DataGridRow> _rowTrackingRoot; // Root of a linked list of active row containers
src\Framework\System\Windows\Controls\DataGridBeginningEditEventArgs.cs (3)
24public DataGridBeginningEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs) 51public DataGridRow Row 66private DataGridRow _dataGridRow;
src\Framework\System\Windows\Controls\DataGridCell.cs (8)
79internal void PrepareCell(object item, ItemsControl cellsPresenter, DataGridRow ownerRow) 90internal void PrepareCell(object item, DataGridRow ownerRow, int index) 138internal void ClearCell(DataGridRow ownerRow) 382var row = RowOwner; 500var row = RowOwner; 1063internal DataGridRow RowOwner 1072DataGridRow row = RowOwner; 1102private DataGridRow _owner;
src\Framework\System\Windows\Controls\DataGridCellEditEndingEventArgs.cs (3)
25public DataGridCellEditEndingEventArgs(DataGridColumn column, DataGridRow row, FrameworkElement editingElement, DataGridEditAction editAction) 53public DataGridRow Row 76private DataGridRow _dataGridRow;
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
1860DataGridRow row = presenter.DataGridRowOwner; 2419DataGridRow row = presenter.DataGridRowOwner;
src\Framework\System\Windows\Controls\DataGridColumn.cs (3)
626DataGridRow row = _dataGridOwner.ItemContainerGenerator.ContainerFromItem(dataItem) as DataGridRow; 641public FrameworkElement GetCellContent(DataGridRow dataGridRow)
src\Framework\System\Windows\Controls\DataGridPreparingCellForEditEventArgs.cs (3)
26public DataGridPreparingCellForEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs, FrameworkElement editingElement) 45public DataGridRow Row 67private DataGridRow _dataGridRow;
src\Framework\System\Windows\Controls\DataGridRow.cs (64)
102VisibilityProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnCoerceVisibility)); 103DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 104ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 105FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 106BackgroundProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceBackground)); 107BindingGroupProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(OnNotifyRowPropertyChanged)); 110SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 111IsMouseOverPropertyKey.OverrideMetadata(typeof(DataGridRow), new UIPropertyMetadata(new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 112VirtualizingPanel.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize))); 113AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 121_tracker = new ContainerTracking<DataGridRow>(this); 142DependencyProperty.Register("Item", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 177public static readonly DependencyProperty ItemsPanelProperty = ItemsControl.ItemsPanelProperty.AddOwner(typeof(DataGridRow)); 282DependencyProperty.Register("Header", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 306DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle)); 321DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate)); 336DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector)); 351DependencyProperty.Register("ValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceValidationErrorTemplate)); 370DependencyProperty.Register("DetailsTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate)); 385DependencyProperty.Register("DetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector)); 400DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new FrameworkPropertyMetadata(Visibility.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility)); 528internal ContainerTracking<DataGridRow> Tracker 617var row = (DataGridRow)d; 628var row = (DataGridRow)d; 639var row = (DataGridRow)d; 650var row = (DataGridRow)d; 680var row = (DataGridRow)d; 691var row = (DataGridRow)d; 702var row = (DataGridRow)d; 713var row = (DataGridRow)d; 751var row = (DataGridRow)d; 768var row = (DataGridRow)d; 785(d as DataGridRow).NotifyPropertyChanged(d, e, DataGridNotificationTarget.Rows); 790(d as DataGridRow).NotifyPropertyChanged(d, e, DataGridNotificationTarget.Rows | DataGridNotificationTarget.RowHeaders); 795DataGridRow row = (DataGridRow)d; 817var row = (DataGridRow)d; 829var row = (DataGridRow)arg; 931else if (e.Property == DataGridRow.IsEditingProperty || 932e.Property == DataGridRow.IsMouseOverProperty || 1053public static readonly DependencyProperty AlternationIndexProperty = ItemsControl.AlternationIndexProperty.AddOwner(typeof(DataGridRow)); 1078typeof(DataGridRow), 1083DataGridRow row = (DataGridRow)sender; 1137public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(DataGridRow)); 1167public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(DataGridRow)); 1227DependencyProperty.RegisterReadOnly("IsEditing", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false, OnNotifyRowAndRowHeaderPropertyChanged)); 1296DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 1335public static DataGridRow GetRowContainingElement(FrameworkElement element) 1337return DataGridHelper.FindVisualParent<DataGridRow>(element); 1382private ContainerTracking<DataGridRow> _tracker;
src\Framework\System\Windows\Controls\DataGridRowDetailsEventArgs.cs (2)
14public DataGridRowDetailsEventArgs(DataGridRow row, FrameworkElement detailsElement) 25public DataGridRow Row
src\Framework\System\Windows\Controls\DataGridrowEditEndingEventArgs.cs (3)
23public DataGridRowEditEndingEventArgs(DataGridRow row, DataGridEditAction editAction) 41public DataGridRow Row 55private DataGridRow _dataGridRow;
src\Framework\System\Windows\Controls\DataGridRowEventArgs.cs (2)
14public DataGridRowEventArgs(DataGridRow row) 19public DataGridRow Row
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (9)
84DataGridRow owningRow = DataGridRowOwner; 161DataGridRow row = DataGridRowOwner; 312DataGridRow rowOwner = DataGridRowOwner; 330DataGridRow rowOwner = DataGridRowOwner; 472var row = DataGridRowOwner; 606DataGridRow parent = DataGridRowOwner; 619internal DataGridRow DataGridRowOwner 621get { return DataGridHelper.FindParent<DataGridRow>(this); } 628DataGridRow owningRow = DataGridRowOwner;
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (15)
53var row = details.DataGridRowOwner; 60DataGridRow.DetailsTemplateProperty, 71var row = details.DataGridRowOwner; 78DataGridRow.DetailsTemplateSelectorProperty, 93DataGridRow owner = DataGridRowOwner; 117DataGridRow rowOwner = DataGridRowOwner; 164DataGridRow owner = DataGridRowOwner; 184if (e.Property == DataGrid.RowDetailsTemplateProperty || e.Property == DataGridRow.DetailsTemplateProperty || e.Property == ContentTemplateProperty) 188else if (e.Property == DataGrid.RowDetailsTemplateSelectorProperty || e.Property == DataGridRow.DetailsTemplateSelectorProperty || e.Property == ContentTemplateSelectorProperty) 211var row = DataGridRowOwner; 245var row = DataGridRowOwner; 279var row = DataGridRowOwner; 313DataGridRow owner = DataGridRowOwner; 326internal DataGridRow DataGridRowOwner 328get { return DataGridHelper.FindParent<DataGridRow>(this); }
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (32)
217DataGridRow parent = ParentRow; 265if (e.Property == DataGridRow.HeaderProperty || e.Property == ContentProperty) 269else if (e.Property == DataGrid.RowHeaderStyleProperty || e.Property == DataGridRow.HeaderStyleProperty || e.Property == StyleProperty) 273else if (e.Property == DataGrid.RowHeaderTemplateProperty || e.Property == DataGridRow.HeaderTemplateProperty || e.Property == ContentTemplateProperty) 277else if (e.Property == DataGrid.RowHeaderTemplateSelectorProperty || e.Property == DataGridRow.HeaderTemplateSelectorProperty || e.Property == ContentTemplateSelectorProperty) 285else if (e.Property == DataGridRow.IsSelectedProperty) 309e.Property == DataGridRow.IsEditingProperty || 310e.Property == DataGridRow.IsMouseOverProperty || 332DataGridRow.HeaderProperty); 341var row = header.ParentRow; 348DataGridRow.HeaderTemplateProperty, 359var row = header.ParentRow; 366DataGridRow.HeaderTemplateSelectorProperty, 382DataGridRow.HeaderStyleProperty, 409var row = ParentRow; 427var row = ParentRow; 441var row = ParentRow; 455var row = ParentRow; 543DataGridRow parent = header.ParentRow; 567DataGridRow parentRow = ParentRow; 652DataGridRow parent = ParentRow; 685private DataGridRow PreviousRow 689DataGridRow row = ParentRow; 698return (DataGridRow)dataGrid.ItemContainerGenerator.ContainerFromIndex(index - 1); 711private DataGridRow RowToResize(object gripper) 719DataGridRow rowToResize = RowToResize(sender); 729DataGridRow rowToResize = RowToResize(sender); 740DataGridRow rowToResize = RowToResize(sender); 750DataGridRow rowToResize = RowToResize(sender); 768internal DataGridRow ParentRow 772return DataGridHelper.FindParent<DataGridRow>(this); 780DataGridRow parent = ParentRow;
System.Activities.Core.Presentation (6)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (4)
182DataGridRow row = (DataGridRow)sender; 524DataGridRow row = entry.Row; 796internal DataGridRow Row
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (2)
120DataGridRow row = (DataGridRow)sender;
System.Activities.Presentation (21)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (20)
591var row = VisualTreeUtils.FindVisualAncestor<DataGridRow>(cell); 604var row = VisualTreeUtils.FindVisualAncestor<DataGridRow>(cell); 695DataGridRow row = VisualTreeUtils.FindVisualAncestor<DataGridRow>(cell); 713DataGridRow row = VisualTreeUtils.FindVisualAncestor<DataGridRow>(cell); 850Style style = null == baseStyle ? new Style(typeof(DataGridRow)) : new Style(typeof(DataGridRow), baseStyle); 854Event = DataGridRow.KeyDownEvent, 879errorTooltipTrigger.Setters.Add(new Setter(DataGridRow.TagProperty, null)); 993DataGridRow rowContainer = GetRow(dataGrid, row); 1041public static DataGridRow GetRow(DataGrid dataGrid, int index) 1043DataGridRow row = (DataGridRow)dataGrid.ItemContainerGenerator.ContainerFromIndex(index); 1050row = (DataGridRow)dataGrid.ItemContainerGenerator.ContainerFromIndex(index); 1513var row = values.OfType<DataGridRow>().FirstOrDefault(); 1529row.Dispatcher.BeginInvoke(new Action<ToolTip, DataGridRow>((tip, r) =>
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
433DataGridRow row = DataGridHelper.GetRow(this.variableDataGrid, index);