1 instantiation of DataGridColumnHeader
PresentationFramework (1)
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
193
return new
DataGridColumnHeader
();
99 references to DataGridColumnHeader
PresentationFramework (99)
System\Windows\Automation\Peers\DataGridColumnHeaderAutomationPeer.cs (1)
20
public DataGridColumnHeaderAutomationPeer(
DataGridColumnHeader
owner)
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (3)
118
((
DataGridColumnHeader
)wrapperPeer.Owner).Invoke();
216
internal
DataGridColumnHeader
OwningHeader
220
return GetWrapper() as
DataGridColumnHeader
;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (2)
89
if (item is
DataGridColumnHeader
)
91
dataItem = ((
DataGridColumnHeader
) item).Column;
System\Windows\Controls\DataGrid.cs (3)
446
internal
DataGridColumnHeader
ColumnHeaderFromDisplayIndex(int displayIndex)
454
return (
DataGridColumnHeader
)ColumnHeadersPresenter.ItemContainerGenerator.ContainerFromIndex(columnIndex);
8528
ContainerTracking<
DataGridColumnHeader
> headerTracker = ColumnHeadersPresenter.HeaderTrackingRoot;
System\Windows\Controls\DataGridCellsPanel.cs (2)
100
bool isColumnHeader = (child is
DataGridColumnHeader
);
1321
children[0] is
DataGridColumnHeader
&&
System\Windows\Controls\DataGridColumnDropSeparator.cs (3)
21
new FrameworkPropertyMetadata(
DataGridColumnHeader
.ColumnHeaderDropSeparatorStyleKey));
63
internal
DataGridColumnHeader
ReferenceHeader
80
private
DataGridColumnHeader
_referenceHeader;
System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
23
new FrameworkPropertyMetadata(
DataGridColumnHeader
.ColumnFloatingHeaderStyleKey));
103
internal
DataGridColumnHeader
ReferenceHeader
191
private
DataGridColumnHeader
_referenceHeader;
System\Windows\Controls\DataGridHelper.cs (3)
237
Debug.Assert((cell is DataGridCell) || (cell is
DataGridColumnHeader
), "provideColumn should be one of the cell or header containers.");
241
bool isColumnHeader = (cell is
DataGridColumnHeader
);
301
Debug.Assert((cell is DataGridCell) || (cell is
DataGridColumnHeader
), "provideColumn should be one of the cell or header containers.");
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (54)
27
DefaultStyleKeyProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(typeof(
DataGridColumnHeader
)));
29
ContentProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent));
30
ContentTemplateProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplate));
31
ContentTemplateSelectorProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
32
ContentStringFormatProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStringFormat));
33
StyleProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle));
34
HeightProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight));
36
FocusableProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(false));
37
ClipProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(null, OnCoerceClip));
38
AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
46
_tracker = new ContainerTracking<
DataGridColumnHeader
>(this);
77
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(null));
92
DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(
DataGridColumnHeader
), new FrameworkPropertyMetadata(Visibility.Visible));
130
internal ContainerTracking<
DataGridColumnHeader
> Tracker
146
typeof(
DataGridColumnHeader
),
167
DataGridColumnHeader
header = (
DataGridColumnHeader
)d;
186
DataGridColumnHeader
header = (
DataGridColumnHeader
)d;
194
DataGridColumnHeader
nextColumnHeader = dataGrid.ColumnHeaderFromDisplayIndex(header.DisplayIndex + 1);
280
private
DataGridColumnHeader
HeaderToResize(object gripper)
288
DataGridColumnHeader
header = HeaderToResize(sender);
304
DataGridColumnHeader
header = HeaderToResize(sender);
315
private static void RecomputeColumnWidthsOnColumnResize(
DataGridColumnHeader
header, double horizontalChange)
336
DataGridColumnHeader
header = HeaderToResize(sender);
352
DataGridColumnHeader
header = HeaderToResize(sender);
381
((
DataGridColumnHeader
)d).NotifyPropertyChanged(d, e);
541
DataGridColumnHeader
nextHeader = dataGrid.ColumnHeaderFromDisplayIndex(index);
592
var
header = d as
DataGridColumnHeader
;
618
var
columnHeader = d as
DataGridColumnHeader
;
632
var
columnHeader = d as
DataGridColumnHeader
;
646
var
columnHeader = d as
DataGridColumnHeader
;
660
var
columnHeader = (
DataGridColumnHeader
)d;
699
typeof(
DataGridColumnHeader
),
722
typeof(
DataGridColumnHeader
),
767
var
columnHeader = (
DataGridColumnHeader
)d;
799
DataGridColumnHeader
header = (
DataGridColumnHeader
)d;
815
DataGridColumnHeader
header = (
DataGridColumnHeader
)d;
852
typeof(
DataGridColumnHeader
),
873
DataGridColumnHeader
header = (
DataGridColumnHeader
)d;
890
DataGridColumnHeader
header = (
DataGridColumnHeader
)d;
1090
private
DataGridColumnHeader
PreviousVisibleHeader
1120
private ContainerTracking<
DataGridColumnHeader
> _tracker;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (25)
22
[TemplatePart(Name = "PART_FillerColumnHeader", Type = typeof(
DataGridColumnHeader
))]
75
DataGridColumnHeader
fillerColumnHeader = GetTemplateChild(ElementFillerColumnHeader) as
DataGridColumnHeader
;
78
DataGridHelper.TransferProperty(fillerColumnHeader,
DataGridColumnHeader
.StyleProperty);
79
DataGridHelper.TransferProperty(fillerColumnHeader,
DataGridColumnHeader
.HeightProperty);
203
return item is
DataGridColumnHeader
;
222
DataGridColumnHeader
header = element as
DataGridColumnHeader
;
250
DataGridColumnHeader
header = element as
DataGridColumnHeader
;
261
private DataGridColumn ColumnFromContainer(
DataGridColumnHeader
container)
337
ContainerTracking<
DataGridColumnHeader
> tracker = _headerTrackingRoot;
349
DataGridColumnHeader
fillerColumnHeader = GetTemplateChild(ElementFillerColumnHeader) as
DataGridColumnHeader
;
504
DataGridColumnHeader
header = FindColumnHeaderByPosition(mousePosition);
624
private void PrepareColumnHeaderDrag(
DataGridColumnHeader
header, Point pos, Point relativePos)
875
DataGridColumnHeader
header;
883
private
DataGridColumnHeader
FindColumnHeaderByPosition(Point startPos)
887
DataGridColumnHeader
header;
899
DataGridColumnHeader
header;
922
private void FindDisplayIndexAndHeaderPosition(Point startPos, bool findNearestColumn, out int displayIndex, out Point headerPos, out
DataGridColumnHeader
header)
950
DataGridColumnHeader
currentHeader = dataGrid.ColumnHeaderFromDisplayIndex(i);
1044
internal ContainerTracking<
DataGridColumnHeader
> HeaderTrackingRoot
1056
private ContainerTracking<
DataGridColumnHeader
> _headerTrackingRoot;
1062
private
DataGridColumnHeader
_draggingSrcColumnHeader;