4 instantiations of GridViewColumnHeader
PresentationFramework (4)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
968headerContainer = new GridViewColumnHeader(); 1116GridViewColumnHeader paddingHeader = new GridViewColumnHeader();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4977bamlType.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)
119GridViewColumnHeader header = gridview.HeaderRowPresenter.ActualColumnHeaders[Column];
System\Windows\Automation\Peers\GridViewColumnHeaderAutomationPeer.cs (5)
27public GridViewColumnHeaderAutomationPeer(GridViewColumnHeader owner) 69GridViewColumnHeader owner = (GridViewColumnHeader)Owner; 96GridViewColumnHeader header = Owner as GridViewColumnHeader;
System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (2)
65GridViewColumnHeader header = ((UIElementAutomationPeer)peer).Owner as GridViewColumnHeader;
System\Windows\Controls\GridView.cs (1)
25[StyleTypedProperty(Property = "ColumnHeaderContainerStyle", StyleTargetType = typeof(System.Windows.Controls.GridViewColumnHeader))]
System\Windows\Controls\GridViewColumn.cs (1)
21[StyleTypedProperty(Property = "HeaderContainerStyle", StyleTargetType = typeof(System.Windows.Controls.GridViewColumnHeader))]
System\Windows\Controls\GridViewColumnHeader.cs (23)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 65_dType = DependencyObjectType.FromSystemTypeInternal(typeof(GridViewColumnHeader)); 67FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 70StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 71ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 72ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 73ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 74ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 127typeof(GridViewColumnHeader), 151typeof(GridViewColumnHeader), 494internal GridViewColumnHeader PreviousVisualHeader 500private GridViewColumnHeader _previousHeader; 518internal GridViewColumnHeader FloatSourceHeader 561GridViewColumnHeader header = (GridViewColumnHeader)d; 589if (dp == GridViewColumnHeader.StyleProperty) 594else if (dp == GridViewColumnHeader.ContentTemplateProperty) 599else if (dp == GridViewColumnHeader.ContentTemplateSelectorProperty) 604else if (dp == GridViewColumnHeader.ContentStringFormatProperty) 609else if (dp == GridViewColumnHeader.ContextMenuProperty) 614else if (dp == GridViewColumnHeader.ToolTipProperty) 1012private GridViewColumnHeader _srcHeader;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (63)
25[StyleTypedProperty(Property = "ColumnHeaderContainerStyle", StyleTargetType = typeof(GridViewColumnHeader))] 376GridViewColumnHeader header = children[GetVisualIndex(i)] as GridViewColumnHeader; 411GridViewColumnHeader header = e.Source as GridViewColumnHeader; 620GridViewColumnHeader header = CreateAndInsertHeader(column, visualIndex++); 643GridViewColumnHeader header = FindHeaderByColumn(column); 654|| column.Header is GridViewColumnHeader /* the new header is its own container */) 663GridViewColumnHeader newHeader = CreateAndInsertHeader(column, i); 691GridViewColumnHeader header; 701header = (GridViewColumnHeader)children[start]; 768internal void UpdateHeaderProperty(GridViewColumnHeader header, DependencyProperty property) 866GridViewColumnHeader lastHeader = null; 873GridViewColumnHeader header = (GridViewColumnHeader)InternalChildren[GetVisualIndex(i)]; 894private GridViewColumnHeader CreateAndInsertHeader(GridViewColumn column, int index) 897GridViewColumnHeader headerContainer = header as GridViewColumnHeader; 947GridViewColumnHeader parentAsGVCH = parent as GridViewColumnHeader; 973headerContainer.SetValue(GridViewColumnHeader.ColumnPropertyKey, column); 989private void RemoveHeader(GridViewColumnHeader header, int index) 1001header = (GridViewColumnHeader)InternalChildren[index]; 1072private void UnhookItemsControlKeyboardEvent(GridViewColumnHeader header) 1081private void HookupItemsControlKeyboardEvent(GridViewColumnHeader header) 1116GridViewColumnHeader paddingHeader = new GridViewColumnHeader(); 1118paddingHeader.SetValue(GridViewColumnHeader.RolePropertyKey, GridViewColumnHeaderRole.Padding); 1173private void AddFloatingHeader(GridViewColumnHeader srcHeader) 1175GridViewColumnHeader header; 1180Type headerType = (srcHeader != null ? srcHeader.GetType() : typeof(GridViewColumnHeader)); 1185header = Activator.CreateInstance(headerType) as GridViewColumnHeader; 1195header.SetValue(GridViewColumnHeader.RolePropertyKey, GridViewColumnHeaderRole.Floating); 1203private void UpdateFloatingHeader(GridViewColumnHeader srcHeader) 1213_floatingHeader.SetValue(GridViewColumnHeader.ColumnPropertyKey, srcHeader.Column); 1220object template = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateProperty); 1226object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateSelectorProperty); 1275GridViewColumnHeader srcHeader = _draggingSrcHeader; 1284private GridViewColumnHeader FindHeaderByColumn(GridViewColumn column) 1298GridViewColumnHeader header = children[visualIndex] as GridViewColumnHeader; 1309header = children[i] as GridViewColumnHeader; 1377private void UpdateHeader(GridViewColumnHeader header) 1389private void UpdateHeaderContent(GridViewColumnHeader header) 1411private void UpdatePaddingHeader(GridViewColumnHeader header) 1431GridViewColumnHeader header = children[i] as GridViewColumnHeader; 1457GridViewColumnHeader header, // the header need to update 1470if (style != null && !style.TargetType.IsAssignableFrom(typeof(GridViewColumnHeader))) 1497private void PrepareHeaderDrag(GridViewColumnHeader header, Point pos, Point relativePos, bool cancelInvoke) 1596internal List<GridViewColumnHeader> ActualColumnHeaders 1603_gvHeaders = new List<GridViewColumnHeader>(); 1610GridViewColumnHeader header = children[GetVisualIndex(i)] as GridViewColumnHeader; 1624private List<GridViewColumnHeader> _gvHeaders; 1645private GridViewColumnHeader _paddingHeader; 1646private GridViewColumnHeader _floatingHeader; 1653private GridViewColumnHeader _draggingSrcHeader; 1748GridViewColumnHeader.StyleProperty, 1749GridViewColumnHeader.ContentTemplateProperty, 1750GridViewColumnHeader.ContentTemplateSelectorProperty, 1751GridViewColumnHeader.ContentStringFormatProperty, 1752GridViewColumnHeader.ContextMenuProperty, 1753GridViewColumnHeader.ToolTipProperty,
System\Windows\Controls\ListBox.cs (1)
507if (e.OriginalSource is GridViewColumnHeader gridViewColumnHeader && gridViewColumnHeader.Column != null)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
356case 260: t = () => typeof(GridViewColumnHeader); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4692Type type = typeof(System.Windows.Controls.GridViewColumnHeader); 4693DependencyProperty dp = System.Windows.Controls.GridViewColumnHeader.ContentProperty; 4695this.GetXamlType(typeof(System.Windows.Controls.GridViewColumnHeader)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4975typeof(System.Windows.Controls.GridViewColumnHeader),
System\Windows\Markup\KnownTypes.cs (1)
5814case KnownElements.GridViewColumnHeader: t = typeof(System.Windows.Controls.GridViewColumnHeader); break;