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