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