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