14 writes to Header
PresentationFramework (13)
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (2)
242
menuItem.
Header
= command.Text; // use default menu text for this command
246
menuItem.
Header
= header;
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (2)
274
Header
= item;
311
Header
= BindingExpressionBase.DisconnectedItem;
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
906
menuItem.
Header
= SR.Get(name);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (8)
521
menuItem.
Header
= text;
533
menuItem.
Header
= SR.Get(SRID.TextBox_ContextMenu_NoSpellingSuggestions);
541
menuItem.
Header
= SR.Get(SRID.TextBox_ContextMenu_IgnoreAll);
610
menuItem.
Header
= suggestion;
623
menuItem.
Header
= SR.Get(SRID.TextBox_ContextMenu_More);
647
menuItem.
Header
= SR.Get(SRID.TextBox_ContextMenu_Cut);
653
menuItem.
Header
= SR.Get(SRID.TextBox_ContextMenu_Copy);
665
menuItem.
Header
= SR.Get(SRID.TextBox_ContextMenu_Paste);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
228
setAsStartNode.
Header
= this.SetAsStartNodeMenuItemHeader;
31 references to Header
PresentationFramework (6)
src\Framework\MS\Internal\Controls\ModelTreeEnumerator.cs (1)
275
return Object.ReferenceEquals(header, _owner.
Header
);
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
302
if (menuItem.
Header
is string)
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (4)
322
return ContentControl.ContentObjectToString(
Header
);
342
headerText = ContentControl.ContentObjectToString(
Header
);
353
headerText = ContentControl.ContentObjectToString(
Header
);
383
object header =
Header
;
System.Activities.Core.Presentation (14)
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (14)
148
if (null != item.
Header
)
150
if (item.
Header
is ExpanderTypeEntry)
154
else if (item.
Header
is Type)
156
var type = (Type)item.
Header
;
165
if (null != item && item.
Header
is ExpanderTypeEntry)
167
this.SelectedTypeEntry = (ExpanderTypeEntry)item.
Header
;
179
if (null != item && item.
Header
is ExpanderTypeEntry)
181
this.SelectedTypeEntry = (ExpanderTypeEntry)item.
Header
;
192
bool isType = item.
Header
is ExpanderTypeEntry;
193
bool isMember = item.
Header
is MemberInfo;
197
while (null != item && item.
Header
is MemberInfo)
199
var member = (MemberInfo)item.
Header
;
211
this.SelectedTypeEntry = (ExpanderTypeEntry)item.
Header
;
217
this.SelectedTypeEntry = (ExpanderTypeEntry)item.
Header
;
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeViewItem.cs (8)
45
TreeViewItemViewModel viewModel = this.
Header
as TreeViewItemViewModel;
87
TreeViewItemViewModel viewModel = this.
Header
as TreeViewItemViewModel;
113
if (this.
Header
is TreeViewItemModelItemViewModel)
115
TreeViewItemModelItemViewModel modelItemViewModel = (TreeViewItemModelItemViewModel)this.
Header
;
125
else if (this.
Header
is TreeViewItemModelPropertyViewModel)
127
TreeViewItemModelPropertyViewModel modelPropertyViewModel = (TreeViewItemModelPropertyViewModel)this.
Header
;
130
else if (this.
Header
is TreeViewItemKeyValuePairModelItemViewModel)
132
TreeViewItemKeyValuePairModelItemViewModel keyValuePairItem = (TreeViewItemKeyValuePairModelItemViewModel)this.
Header
;
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (3)
298
TypeNode entry = ((TreeViewItem)sender).
Header
as TypeNode;
331
ns = item.
Header
as NamespaceNode;
344
if (null != item && item.
Header
is AssemblyNode && null != Mouse.OverrideCursor)