25 references to HeaderProperty
PresentationFramework (10)
System\Windows\Controls\HeaderedItemsControl.cs (4)
69
get { return GetValue(
HeaderProperty
); }
70
set { SetValue(
HeaderProperty
, value); }
276
if (HeaderIsItem || !HasNonDefaultValue(
HeaderProperty
))
544
if (BindingOperations.IsDataBound(this,
HeaderProperty
))
System\Windows\Controls\MenuItem.cs (3)
170
HeaderProperty
.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceHeader)));
348
if (value == null && !menuItem.HasNonDefaultValue(
HeaderProperty
))
421
CoerceValue(
HeaderProperty
);
System\Windows\Data\BindingExpressionBase.cs (1)
2098
targetDP == HeaderedItemsControl.
HeaderProperty
||
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2901
DependencyProperty dp = System.Windows.Controls.HeaderedItemsControl.
HeaderProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1822
return System.Windows.Controls.HeaderedItemsControl.
HeaderProperty
;
System.Windows.Controls.Ribbon (15)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
379
qatPlacementItem.SetBinding(RibbonMenuItem.
HeaderProperty
, headerBinding);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
218
currentFilterItem.ClearValue(RibbonMenuItem.
HeaderProperty
);
220
if (PropertyHelper.IsDefaultValue(currentFilterItem, RibbonMenuItem.
HeaderProperty
))
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
66
HeaderProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (3)
1707
new PropertyAndTransferMode () { Property = HeaderedItemsControl.
HeaderProperty
, Mode = TransferMode.AlwaysTransfer },
2155
if (original.GetValue(RibbonMenuItem.
HeaderProperty
) is String)
2157
TransferProperty(original, clone, RibbonMenuItem.
HeaderProperty
, RibbonControlService.LabelProperty, TransferMode.AlwaysTransfer);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (5)
68
HeaderProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged), new CoerceValueCallback(CoerceHeader)));
1779
KeyTipAndContentSyncHelper.Sync(this,
HeaderProperty
);
1784
KeyTipAndContentSyncHelper.OnKeyTipChanged((ISyncKeyTipAndContent)d,
HeaderProperty
);
1789
return KeyTipAndContentSyncHelper.CoerceKeyTip((ISyncKeyTipAndContent)d, baseValue,
HeaderProperty
);
1794
KeyTipAndContentSyncHelper.OnContentPropertyChanged((ISyncKeyTipAndContent)d,
HeaderProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
48
HeaderProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
425
else if (e.Property == ContentProperty || e.Property == RibbonTab.
HeaderProperty
)
569
RibbonTab.
HeaderProperty
);