25 references to HeaderProperty
PresentationFramework (10)
System\Windows\Controls\HeaderedItemsControl.cs (4)
64
get { return GetValue(
HeaderProperty
); }
65
set { SetValue(
HeaderProperty
, value); }
271
if (HeaderIsItem || !HasNonDefaultValue(
HeaderProperty
))
539
if (BindingOperations.IsDataBound(this,
HeaderProperty
))
System\Windows\Controls\MenuItem.cs (3)
160
HeaderProperty
.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceHeader)));
338
if (value == null && !menuItem.HasNonDefaultValue(
HeaderProperty
))
411
CoerceValue(
HeaderProperty
);
System\Windows\Data\BindingExpressionBase.cs (1)
2090
targetDP == HeaderedItemsControl.
HeaderProperty
||
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2899
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)
377
qatPlacementItem.SetBinding(RibbonMenuItem.
HeaderProperty
, headerBinding);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
216
currentFilterItem.ClearValue(RibbonMenuItem.
HeaderProperty
);
218
if (PropertyHelper.IsDefaultValue(currentFilterItem, RibbonMenuItem.
HeaderProperty
))
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
63
HeaderProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (3)
1702
new PropertyAndTransferMode () { Property = HeaderedItemsControl.
HeaderProperty
, Mode = TransferMode.AlwaysTransfer },
2150
if (original.GetValue(RibbonMenuItem.
HeaderProperty
) is String)
2152
TransferProperty(original, clone, RibbonMenuItem.
HeaderProperty
, RibbonControlService.LabelProperty, TransferMode.AlwaysTransfer);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (5)
65
HeaderProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged), new CoerceValueCallback(CoerceHeader)));
1776
KeyTipAndContentSyncHelper.Sync(this,
HeaderProperty
);
1781
KeyTipAndContentSyncHelper.OnKeyTipChanged((ISyncKeyTipAndContent)d,
HeaderProperty
);
1786
return KeyTipAndContentSyncHelper.CoerceKeyTip((ISyncKeyTipAndContent)d, baseValue,
HeaderProperty
);
1791
KeyTipAndContentSyncHelper.OnContentPropertyChanged((ISyncKeyTipAndContent)d,
HeaderProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (1)
46
HeaderProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeaderChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
423
else if (e.Property == ContentProperty || e.Property == RibbonTab.
HeaderProperty
)
567
RibbonTab.
HeaderProperty
);