18 writes to Header
PresentationFramework (13)
MS\Internal\Documents\DocumentGridContextMenu.cs (2)
202menuItem.Header = command.Text; // use default menu text for this command 206menuItem.Header = header;
System\Windows\Controls\HeaderedItemsControl.cs (2)
273Header = item; 310Header = BindingExpressionBase.DisconnectedItem;
System\Windows\Controls\Primitives\ScrollBar.cs (1)
885menuItem.Header = SR.GetResourceString(name);
System\windows\Documents\TextEditorContextMenu.cs (8)
493menuItem.Header = text; 505menuItem.Header = SR.TextBox_ContextMenu_NoSpellingSuggestions; 513menuItem.Header = SR.TextBox_ContextMenu_IgnoreAll; 576menuItem.Header = suggestion; 589menuItem.Header = SR.TextBox_ContextMenu_More; 605menuItem.Header = SR.TextBox_ContextMenu_Cut; 611menuItem.Header = SR.TextBox_ContextMenu_Copy; 617menuItem.Header = SR.TextBox_ContextMenu_Paste;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (4)
337addGalleryToQATItem.Header = _addGalleryToQATText; 356addToOrRemoveFromQATItem.Header = RemoveFromQATText; 361addToOrRemoveFromQATItem.Header = AddToQATText; 446minimizeTheRibbonItem.Header = MinimizeTheRibbonText;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
222currentFilterItem.Header = this.CurrentFilter;
17 references to Header
PresentationFramework (6)
MS\Internal\Controls\ModelTreeEnumerator.cs (1)
266return Object.ReferenceEquals(header, _owner.Header);
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
324if (menuItem.Header is string)
System\Windows\Controls\HeaderedItemsControl.cs (4)
321return ContentControl.ContentObjectToString(Header); 341headerText = ContentControl.ContentObjectToString(Header); 352headerText = ContentControl.ContentObjectToString(Header); 382object header = Header;
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1679headerItem = tab.Header;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (5)
2328filterToAdd = category.Header; 2338if ((category.Header is string && !String.IsNullOrEmpty((string)category.Header)) || 2339category.Header != null) 2365dataToCompareAgainst = category.Header;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (4)
161RibbonHelper.SetContentAsToolTip(this, this.VisualChild, this.Header, (IsCollapsed && !IsDropDownOpen)); 245RibbonHelper.SetContentAsToolTip(ribbonGroup, ribbonGroup.VisualChild, ribbonGroup.Header, (ribbonGroup.IsCollapsed && !ribbonGroup.IsDropDownOpen)); 635RibbonHelper.SetContentAsToolTip(group, group.VisualChild, group.Header, (group.IsCollapsed && !group.IsDropDownOpen)); 1011RibbonHelper.SetContentAsToolTip(ribbonGroup, ribbonGroup.VisualChild, ribbonGroup.Header, (ribbonGroup.IsCollapsed && !ribbonGroup.IsDropDownOpen));
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
643return ConvertToPlainText(hic.Header);