18 writes to Header
PresentationFramework (13)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
210menuItem.Header = command.Text; // use default menu text for this command 214menuItem.Header = header;
System\Windows\Controls\HeaderedItemsControl.cs (2)
278Header = item; 315Header = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
901menuItem.Header = SR.GetResourceString(name);
System\windows\Documents\TextEditorContextMenu.cs (8)
495menuItem.Header = text; 507menuItem.Header = SR.TextBox_ContextMenu_NoSpellingSuggestions; 515menuItem.Header = SR.TextBox_ContextMenu_IgnoreAll; 578menuItem.Header = suggestion; 591menuItem.Header = SR.TextBox_ContextMenu_More; 607menuItem.Header = SR.TextBox_ContextMenu_Cut; 613menuItem.Header = SR.TextBox_ContextMenu_Copy; 619menuItem.Header = SR.TextBox_ContextMenu_Paste;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (4)
339addGalleryToQATItem.Header = _addGalleryToQATText; 358addToOrRemoveFromQATItem.Header = RemoveFromQATText; 363addToOrRemoveFromQATItem.Header = AddToQATText; 448minimizeTheRibbonItem.Header = MinimizeTheRibbonText;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
224currentFilterItem.Header = this.CurrentFilter;
17 references to Header
PresentationFramework (6)
MS\Internal\Controls\ModelTreeEnumerator.cs (1)
273return Object.ReferenceEquals(header, _owner.Header);
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
337if (menuItem.Header is string)
System\Windows\Controls\HeaderedItemsControl.cs (4)
326return ContentControl.ContentObjectToString(Header); 346headerText = ContentControl.ContentObjectToString(Header); 357headerText = ContentControl.ContentObjectToString(Header); 387object header = Header;
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1682headerItem = tab.Header;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (5)
2330filterToAdd = category.Header; 2340if ((category.Header is string && !String.IsNullOrEmpty((string)category.Header)) || 2341category.Header != null) 2367dataToCompareAgainst = category.Header;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
164RibbonHelper.SetContentAsToolTip(this, this.VisualChild, this.Header, (IsCollapsed && !IsDropDownOpen)); 248RibbonHelper.SetContentAsToolTip(ribbonGroup, ribbonGroup.VisualChild, ribbonGroup.Header, (ribbonGroup.IsCollapsed && !ribbonGroup.IsDropDownOpen)); 638RibbonHelper.SetContentAsToolTip(group, group.VisualChild, group.Header, (group.IsCollapsed && !group.IsDropDownOpen)); 1014RibbonHelper.SetContentAsToolTip(ribbonGroup, ribbonGroup.VisualChild, ribbonGroup.Header, (ribbonGroup.IsCollapsed && !ribbonGroup.IsDropDownOpen));
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
646return ConvertToPlainText(hic.Header);