1 instantiation of DataGridColumnHeader
PresentationFramework (1)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
193return new DataGridColumnHeader();
99 references to DataGridColumnHeader
PresentationFramework (99)
System\Windows\Automation\Peers\DataGridColumnHeaderAutomationPeer.cs (1)
20public DataGridColumnHeaderAutomationPeer(DataGridColumnHeader owner)
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (3)
118((DataGridColumnHeader)wrapperPeer.Owner).Invoke(); 216internal DataGridColumnHeader OwningHeader 220return GetWrapper() as DataGridColumnHeader;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
89if (item is DataGridColumnHeader) 91dataItem = ((DataGridColumnHeader) item).Column;
System\Windows\Controls\DataGrid.cs (3)
446internal DataGridColumnHeader ColumnHeaderFromDisplayIndex(int displayIndex) 454return (DataGridColumnHeader)ColumnHeadersPresenter.ItemContainerGenerator.ContainerFromIndex(columnIndex); 8528ContainerTracking<DataGridColumnHeader> headerTracker = ColumnHeadersPresenter.HeaderTrackingRoot;
System\Windows\Controls\DataGridCellsPanel.cs (2)
100bool isColumnHeader = (child is DataGridColumnHeader); 1321children[0] is DataGridColumnHeader &&
System\Windows\Controls\DataGridColumnDropSeparator.cs (3)
21new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey)); 63internal DataGridColumnHeader ReferenceHeader 80private DataGridColumnHeader _referenceHeader;
System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
23new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey)); 103internal DataGridColumnHeader ReferenceHeader 191private DataGridColumnHeader _referenceHeader;
System\Windows\Controls\DataGridHelper.cs (3)
237Debug.Assert((cell is DataGridCell) || (cell is DataGridColumnHeader), "provideColumn should be one of the cell or header containers."); 241bool isColumnHeader = (cell is DataGridColumnHeader); 301Debug.Assert((cell is DataGridCell) || (cell is DataGridColumnHeader), "provideColumn should be one of the cell or header containers.");
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (54)
27DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 29ContentProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 30ContentTemplateProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplate)); 31ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 32ContentStringFormatProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStringFormat)); 33StyleProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 34HeightProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight)); 36FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 37ClipProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnCoerceClip)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 46_tracker = new ContainerTracking<DataGridColumnHeader>(this); 77DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null)); 92DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 130internal ContainerTracking<DataGridColumnHeader> Tracker 146typeof(DataGridColumnHeader), 167DataGridColumnHeader header = (DataGridColumnHeader)d; 186DataGridColumnHeader header = (DataGridColumnHeader)d; 194DataGridColumnHeader nextColumnHeader = dataGrid.ColumnHeaderFromDisplayIndex(header.DisplayIndex + 1); 280private DataGridColumnHeader HeaderToResize(object gripper) 288DataGridColumnHeader header = HeaderToResize(sender); 304DataGridColumnHeader header = HeaderToResize(sender); 315private static void RecomputeColumnWidthsOnColumnResize(DataGridColumnHeader header, double horizontalChange) 336DataGridColumnHeader header = HeaderToResize(sender); 352DataGridColumnHeader header = HeaderToResize(sender); 381((DataGridColumnHeader)d).NotifyPropertyChanged(d, e); 541DataGridColumnHeader nextHeader = dataGrid.ColumnHeaderFromDisplayIndex(index); 592var header = d as DataGridColumnHeader; 618var columnHeader = d as DataGridColumnHeader; 632var columnHeader = d as DataGridColumnHeader; 646var columnHeader = d as DataGridColumnHeader; 660var columnHeader = (DataGridColumnHeader)d; 699typeof(DataGridColumnHeader), 722typeof(DataGridColumnHeader), 767var columnHeader = (DataGridColumnHeader)d; 799DataGridColumnHeader header = (DataGridColumnHeader)d; 815DataGridColumnHeader header = (DataGridColumnHeader)d; 852typeof(DataGridColumnHeader), 873DataGridColumnHeader header = (DataGridColumnHeader)d; 890DataGridColumnHeader header = (DataGridColumnHeader)d; 1090private DataGridColumnHeader PreviousVisibleHeader 1120private ContainerTracking<DataGridColumnHeader> _tracker;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (25)
22[TemplatePart(Name = "PART_FillerColumnHeader", Type = typeof(DataGridColumnHeader))] 75DataGridColumnHeader fillerColumnHeader = GetTemplateChild(ElementFillerColumnHeader) as DataGridColumnHeader; 78DataGridHelper.TransferProperty(fillerColumnHeader, DataGridColumnHeader.StyleProperty); 79DataGridHelper.TransferProperty(fillerColumnHeader, DataGridColumnHeader.HeightProperty); 203return item is DataGridColumnHeader; 222DataGridColumnHeader header = element as DataGridColumnHeader; 250DataGridColumnHeader header = element as DataGridColumnHeader; 261private DataGridColumn ColumnFromContainer(DataGridColumnHeader container) 337ContainerTracking<DataGridColumnHeader> tracker = _headerTrackingRoot; 349DataGridColumnHeader fillerColumnHeader = GetTemplateChild(ElementFillerColumnHeader) as DataGridColumnHeader; 504DataGridColumnHeader header = FindColumnHeaderByPosition(mousePosition); 624private void PrepareColumnHeaderDrag(DataGridColumnHeader header, Point pos, Point relativePos) 875DataGridColumnHeader header; 883private DataGridColumnHeader FindColumnHeaderByPosition(Point startPos) 887DataGridColumnHeader header; 899DataGridColumnHeader header; 922private void FindDisplayIndexAndHeaderPosition(Point startPos, bool findNearestColumn, out int displayIndex, out Point headerPos, out DataGridColumnHeader header) 950DataGridColumnHeader currentHeader = dataGrid.ColumnHeaderFromDisplayIndex(i); 1044internal ContainerTracking<DataGridColumnHeader> HeaderTrackingRoot 1056private ContainerTracking<DataGridColumnHeader> _headerTrackingRoot; 1062private DataGridColumnHeader _draggingSrcColumnHeader;