4 instantiations of GridViewColumnHeader
PresentationFramework (4)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
970headerContainer = new GridViewColumnHeader(); 1119GridViewColumnHeader paddingHeader = new GridViewColumnHeader();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4973bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.GridViewColumnHeader(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1311case KnownElements.GridViewColumnHeader: o = new System.Windows.Controls.GridViewColumnHeader(); break;
102 references to GridViewColumnHeader
PresentationFramework (102)
src\Framework\System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (1)
116GridViewColumnHeader header = gridview.HeaderRowPresenter.ActualColumnHeaders[Column];
src\Framework\System\Windows\Automation\Peers\GridViewColumnHeaderAutomationPeer.cs (5)
24public GridViewColumnHeaderAutomationPeer(GridViewColumnHeader owner) 66GridViewColumnHeader owner = (GridViewColumnHeader)Owner; 99GridViewColumnHeader header = Owner as GridViewColumnHeader;
src\Framework\System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (2)
62GridViewColumnHeader header = ((UIElementAutomationPeer)peer).Owner as GridViewColumnHeader;
src\Framework\System\Windows\Controls\GridView.cs (1)
27[StyleTypedProperty(Property = "ColumnHeaderContainerStyle", StyleTargetType = typeof(System.Windows.Controls.GridViewColumnHeader))]
src\Framework\System\Windows\Controls\GridViewColumn.cs (1)
23[StyleTypedProperty(Property = "HeaderContainerStyle", StyleTargetType = typeof(System.Windows.Controls.GridViewColumnHeader))]
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (23)
67DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 68_dType = DependencyObjectType.FromSystemTypeInternal(typeof(GridViewColumnHeader)); 70FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 73StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 74ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 75ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 76ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 77ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 130typeof(GridViewColumnHeader), 154typeof(GridViewColumnHeader), 484internal GridViewColumnHeader PreviousVisualHeader 490private GridViewColumnHeader _previousHeader; 508internal GridViewColumnHeader FloatSourceHeader 551GridViewColumnHeader header = (GridViewColumnHeader)d; 579if (dp == GridViewColumnHeader.StyleProperty) 584else if (dp == GridViewColumnHeader.ContentTemplateProperty) 589else if (dp == GridViewColumnHeader.ContentTemplateSelectorProperty) 594else if (dp == GridViewColumnHeader.ContentStringFormatProperty) 599else if (dp == GridViewColumnHeader.ContextMenuProperty) 604else if (dp == GridViewColumnHeader.ToolTipProperty) 1045private GridViewColumnHeader _srcHeader;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (63)
27[StyleTypedProperty(Property = "ColumnHeaderContainerStyle", StyleTargetType = typeof(GridViewColumnHeader))] 378GridViewColumnHeader header = children[GetVisualIndex(i)] as GridViewColumnHeader; 413GridViewColumnHeader header = e.Source as GridViewColumnHeader; 622GridViewColumnHeader header = CreateAndInsertHeader(column, visualIndex++); 645GridViewColumnHeader header = FindHeaderByColumn(column); 656|| column.Header is GridViewColumnHeader /* the new header is its own container */) 665GridViewColumnHeader newHeader = CreateAndInsertHeader(column, i); 693GridViewColumnHeader header; 703header = (GridViewColumnHeader)children[start]; 770internal void UpdateHeaderProperty(GridViewColumnHeader header, DependencyProperty property) 868GridViewColumnHeader lastHeader = null; 875GridViewColumnHeader header = (GridViewColumnHeader)InternalChildren[GetVisualIndex(i)]; 896private GridViewColumnHeader CreateAndInsertHeader(GridViewColumn column, int index) 899GridViewColumnHeader headerContainer = header as GridViewColumnHeader; 949GridViewColumnHeader parentAsGVCH = parent as GridViewColumnHeader; 975headerContainer.SetValue(GridViewColumnHeader.ColumnPropertyKey, column); 991private void RemoveHeader(GridViewColumnHeader header, int index) 1003header = (GridViewColumnHeader)InternalChildren[index]; 1075private void UnhookItemsControlKeyboardEvent(GridViewColumnHeader header) 1084private void HookupItemsControlKeyboardEvent(GridViewColumnHeader header) 1119GridViewColumnHeader paddingHeader = new GridViewColumnHeader(); 1121paddingHeader.SetValue(GridViewColumnHeader.RolePropertyKey, GridViewColumnHeaderRole.Padding); 1176private void AddFloatingHeader(GridViewColumnHeader srcHeader) 1178GridViewColumnHeader header; 1183Type headerType = (srcHeader != null ? srcHeader.GetType() : typeof(GridViewColumnHeader)); 1188header = Activator.CreateInstance(headerType) as GridViewColumnHeader; 1198header.SetValue(GridViewColumnHeader.RolePropertyKey, GridViewColumnHeaderRole.Floating); 1206private void UpdateFloatingHeader(GridViewColumnHeader srcHeader) 1216_floatingHeader.SetValue(GridViewColumnHeader.ColumnPropertyKey, srcHeader.Column); 1223object template = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateProperty); 1229object selector = srcHeader.ReadLocalValue(GridViewColumnHeader.ContentTemplateSelectorProperty); 1278GridViewColumnHeader srcHeader = _draggingSrcHeader; 1287private GridViewColumnHeader FindHeaderByColumn(GridViewColumn column) 1301GridViewColumnHeader header = children[visualIndex] as GridViewColumnHeader; 1312header = children[i] as GridViewColumnHeader; 1380private void UpdateHeader(GridViewColumnHeader header) 1392private void UpdateHeaderContent(GridViewColumnHeader header) 1414private void UpdatePaddingHeader(GridViewColumnHeader header) 1434GridViewColumnHeader header = children[i] as GridViewColumnHeader; 1460GridViewColumnHeader header, // the header need to update 1473if (style != null && !style.TargetType.IsAssignableFrom(typeof(GridViewColumnHeader))) 1500private void PrepareHeaderDrag(GridViewColumnHeader header, Point pos, Point relativePos, bool cancelInvoke) 1599internal List<GridViewColumnHeader> ActualColumnHeaders 1606_gvHeaders = new List<GridViewColumnHeader>(); 1613GridViewColumnHeader header = children[GetVisualIndex(i)] as GridViewColumnHeader; 1627private List<GridViewColumnHeader> _gvHeaders; 1648private GridViewColumnHeader _paddingHeader; 1649private GridViewColumnHeader _floatingHeader; 1656private GridViewColumnHeader _draggingSrcHeader; 1751GridViewColumnHeader.StyleProperty, 1752GridViewColumnHeader.ContentTemplateProperty, 1753GridViewColumnHeader.ContentTemplateSelectorProperty, 1754GridViewColumnHeader.ContentStringFormatProperty, 1755GridViewColumnHeader.ContextMenuProperty, 1756GridViewColumnHeader.ToolTipProperty,
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
352case 260: t = () => typeof(GridViewColumnHeader); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4667Type type = typeof(System.Windows.Controls.GridViewColumnHeader); 4668DependencyProperty dp = System.Windows.Controls.GridViewColumnHeader.ContentProperty; 4670this.GetXamlType(typeof(System.Windows.Controls.GridViewColumnHeader)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4971typeof(System.Windows.Controls.GridViewColumnHeader),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5804case KnownElements.GridViewColumnHeader: t = typeof(System.Windows.Controls.GridViewColumnHeader); break;