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