4 instantiations of GridViewColumnHeader
PresentationFramework (4)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
965headerContainer = new GridViewColumnHeader(); 1113GridViewColumnHeader paddingHeader = new GridViewColumnHeader();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4975bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.GridViewColumnHeader(); };
System\Windows\Markup\KnownTypes.cs (1)
1310case KnownElements.GridViewColumnHeader: o = new System.Windows.Controls.GridViewColumnHeader(); break;
103 references to GridViewColumnHeader
PresentationFramework (103)
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
108GridViewColumnHeader header = gridview.HeaderRowPresenter.ActualColumnHeaders[Column];
System\Windows\Automation\Peers\GridViewColumnHeaderAutomationPeer.cs (5)
14public GridViewColumnHeaderAutomationPeer(GridViewColumnHeader owner) 56GridViewColumnHeader owner = (GridViewColumnHeader)Owner; 83GridViewColumnHeader header = Owner as GridViewColumnHeader;
System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (2)
51GridViewColumnHeader header = ((UIElementAutomationPeer)peer).Owner as GridViewColumnHeader;
System\Windows\Controls\GridView.cs (1)
24[StyleTypedProperty(Property = "ColumnHeaderContainerStyle", StyleTargetType = typeof(System.Windows.Controls.GridViewColumnHeader))]
System\Windows\Controls\GridViewColumn.cs (1)
20[StyleTypedProperty(Property = "HeaderContainerStyle", StyleTargetType = typeof(System.Windows.Controls.GridViewColumnHeader))]
System\Windows\Controls\GridViewColumnHeader.cs (23)
60DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 61_dType = DependencyObjectType.FromSystemTypeInternal(typeof(GridViewColumnHeader)); 63FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 66StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 67ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 68ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 69ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 70ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 123typeof(GridViewColumnHeader), 147typeof(GridViewColumnHeader), 490internal GridViewColumnHeader PreviousVisualHeader 496private GridViewColumnHeader _previousHeader; 514internal GridViewColumnHeader FloatSourceHeader 557GridViewColumnHeader header = (GridViewColumnHeader)d; 585if (dp == GridViewColumnHeader.StyleProperty) 590else if (dp == GridViewColumnHeader.ContentTemplateProperty) 595else if (dp == GridViewColumnHeader.ContentTemplateSelectorProperty) 600else if (dp == GridViewColumnHeader.ContentStringFormatProperty) 605else if (dp == GridViewColumnHeader.ContextMenuProperty) 610else if (dp == GridViewColumnHeader.ToolTipProperty) 1008private GridViewColumnHeader _srcHeader;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (63)
22[StyleTypedProperty(Property = "ColumnHeaderContainerStyle", StyleTargetType = typeof(GridViewColumnHeader))] 373GridViewColumnHeader header = children[GetVisualIndex(i)] as GridViewColumnHeader; 408GridViewColumnHeader header = e.Source as GridViewColumnHeader; 617GridViewColumnHeader header = CreateAndInsertHeader(column, visualIndex++); 640GridViewColumnHeader header = FindHeaderByColumn(column); 651|| column.Header is GridViewColumnHeader /* the new header is its own container */) 660GridViewColumnHeader newHeader = CreateAndInsertHeader(column, i); 688GridViewColumnHeader header; 698header = (GridViewColumnHeader)children[start]; 765internal void UpdateHeaderProperty(GridViewColumnHeader header, DependencyProperty property) 863GridViewColumnHeader lastHeader = null; 870GridViewColumnHeader header = (GridViewColumnHeader)InternalChildren[GetVisualIndex(i)]; 891private GridViewColumnHeader CreateAndInsertHeader(GridViewColumn column, int index) 894GridViewColumnHeader headerContainer = header as GridViewColumnHeader; 944GridViewColumnHeader parentAsGVCH = parent as GridViewColumnHeader; 970headerContainer.SetValue(GridViewColumnHeader.ColumnPropertyKey, column); 986private void RemoveHeader(GridViewColumnHeader header, int index) 998header = (GridViewColumnHeader)InternalChildren[index]; 1069private void UnhookItemsControlKeyboardEvent(GridViewColumnHeader header) 1078private void HookupItemsControlKeyboardEvent(GridViewColumnHeader header) 1113GridViewColumnHeader paddingHeader = new GridViewColumnHeader(); 1115paddingHeader.SetValue(GridViewColumnHeader.RolePropertyKey, GridViewColumnHeaderRole.Padding); 1170private void AddFloatingHeader(GridViewColumnHeader srcHeader) 1172GridViewColumnHeader header; 1177Type headerType = (srcHeader != null ? srcHeader.GetType() : typeof(GridViewColumnHeader)); 1182header = Activator.CreateInstance(headerType) as GridViewColumnHeader; 1192header.SetValue(GridViewColumnHeader.RolePropertyKey, GridViewColumnHeaderRole.Floating); 1200private void UpdateFloatingHeader(GridViewColumnHeader srcHeader) 1210_floatingHeader.SetValue(GridViewColumnHeader.ColumnPropertyKey, srcHeader.Column); 1217object template = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateProperty); 1223object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateSelectorProperty); 1272GridViewColumnHeader srcHeader = _draggingSrcHeader; 1281private GridViewColumnHeader FindHeaderByColumn(GridViewColumn column) 1295GridViewColumnHeader header = children[visualIndex] as GridViewColumnHeader; 1306header = children[i] as GridViewColumnHeader; 1374private void UpdateHeader(GridViewColumnHeader header) 1386private void UpdateHeaderContent(GridViewColumnHeader header) 1408private void UpdatePaddingHeader(GridViewColumnHeader header) 1428GridViewColumnHeader header = children[i] as GridViewColumnHeader; 1454GridViewColumnHeader header, // the header need to update 1467if (style != null && !style.TargetType.IsAssignableFrom(typeof(GridViewColumnHeader))) 1494private void PrepareHeaderDrag(GridViewColumnHeader header, Point pos, Point relativePos, bool cancelInvoke) 1593internal List<GridViewColumnHeader> ActualColumnHeaders 1600_gvHeaders = new List<GridViewColumnHeader>(); 1607GridViewColumnHeader header = children[GetVisualIndex(i)] as GridViewColumnHeader; 1621private List<GridViewColumnHeader> _gvHeaders; 1642private GridViewColumnHeader _paddingHeader; 1643private GridViewColumnHeader _floatingHeader; 1650private GridViewColumnHeader _draggingSrcHeader; 1745GridViewColumnHeader.StyleProperty, 1746GridViewColumnHeader.ContentTemplateProperty, 1747GridViewColumnHeader.ContentTemplateSelectorProperty, 1748GridViewColumnHeader.ContentStringFormatProperty, 1749GridViewColumnHeader.ContextMenuProperty, 1750GridViewColumnHeader.ToolTipProperty,
System\Windows\Controls\ListBox.cs (1)
501if (e.OriginalSource is GridViewColumnHeader gridViewColumnHeader && gridViewColumnHeader.Column != null)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
354case 260: t = () => typeof(GridViewColumnHeader); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4690Type type = typeof(System.Windows.Controls.GridViewColumnHeader); 4691DependencyProperty dp = System.Windows.Controls.GridViewColumnHeader.ContentProperty; 4693this.GetXamlType(typeof(System.Windows.Controls.GridViewColumnHeader)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4973typeof(System.Windows.Controls.GridViewColumnHeader),
System\Windows\Markup\KnownTypes.cs (1)
5814case KnownElements.GridViewColumnHeader: t = typeof(System.Windows.Controls.GridViewColumnHeader); break;