1 instantiation of RibbonTabHeader
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
98return new RibbonTabHeader();
76 references to RibbonTabHeader
System.Windows.Controls.Ribbon (76)
Microsoft\Windows\Automation\Peers\RibbonTabHeaderAutomationPeer.cs (1)
29public RibbonTabHeaderAutomationPeer(RibbonTabHeader owner)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (18)
116RibbonTabHeader ribbonTabHeader = child as RibbonTabHeader; 383RibbonTabHeader ribbonTabHeader = children[i] as RibbonTabHeader; 436RibbonTabHeader ribbonTabHeader = children[i] as RibbonTabHeader; 496RibbonTabHeader tabHeader = element as RibbonTabHeader; 549RibbonTabHeader tabHeader = element as RibbonTabHeader; 609RibbonTabHeader tabHeader = element as RibbonTabHeader; 639RibbonTabHeader tabHeader = children[i] as RibbonTabHeader; 649public RibbonTabHeader RibbonTabHeader { get; set; } 677RibbonTabHeader tabHeader = child as RibbonTabHeader; 732RibbonTabHeader child = headerAndIndex.RibbonTabHeader;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
249RibbonTabHeader tabHeader = firstTab.RibbonTabHeader;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (5)
44[StyleTypedProperty(Property = "TabHeaderStyle", StyleTargetType = typeof(RibbonTabHeader))] 783internal void NotifyMouseClickedOnTabHeader(RibbonTabHeader tabHeader, MouseButtonEventArgs e) 1936private RibbonTabHeader SelectedTabHeader 1950return (tabHeaderItemsControl.ItemContainerGenerator.ContainerFromIndex(selectedIndex) as RibbonTabHeader); 1962RibbonTabHeader tabHeader = SelectedTabHeader;
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (11)
34[StyleTypedProperty(Property = "HeaderStyle", StyleTargetType = typeof(RibbonTabHeader))] 178internal RibbonTabHeader RibbonTabHeader 191return headerItemsControl.ItemContainerGenerator.ContainerFromIndex(index) as RibbonTabHeader; 377RibbonTabHeader tabHeader = RibbonTabHeader; 615RibbonTabHeader tabHeader = RibbonTabHeader; 720RibbonTabHeader header = ribbonTab.RibbonTabHeader; 723header.CoerceValue(RibbonTabHeader.IsRibbonTabSelectedProperty); 744RibbonTabHeader header = ribbonTab.RibbonTabHeader; 747header.CoerceValue(RibbonTabHeader.IsEnabledProperty); 801RibbonTabHeader tabHeader = tab.RibbonTabHeader; 844RibbonTabHeader tabHeader = tab.RibbonTabHeader;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (37)
28[TemplatePart(Name = RibbonTabHeader.OuterBorderTemplatePartName, Type = typeof(Border))] 35Type ownerType = typeof(RibbonTabHeader); 66DependencyProperty.RegisterReadOnly("IsRibbonTabSelected", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsRibbonTabSelectedChanged), new CoerceValueCallback(OnCoerceIsRibbonTabSelected))); 81DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(CoerceContextualTabGroup))); 92DependencyProperty.RegisterReadOnly("IsContextualTab", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceIsContextualTab))); 106RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonTabHeader)); 175RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonTabHeader)); 190RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(RibbonTabHeader)); 205RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(RibbonTabHeader)); 220RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(RibbonTabHeader)); 235RibbonControlService.CheckedBackgroundProperty.AddOwner(typeof(RibbonTabHeader)); 250RibbonControlService.CheckedBorderBrushProperty.AddOwner(typeof(RibbonTabHeader)); 455RibbonTabHeader tabHeader = (RibbonTabHeader)d; 467RibbonTabHeader tabHeader = (RibbonTabHeader)d; 485RibbonTabHeader header = (RibbonTabHeader)d; 502RibbonTabHeader header = (RibbonTabHeader)d; 513RibbonTabHeader header = (RibbonTabHeader)d; 541((RibbonTabHeader)d).NotifyPropertyChanged(e); 546RibbonTabHeader tabHeader = (RibbonTabHeader)d; 560RibbonTabHeader tabHeader = (RibbonTabHeader)d; 572RibbonTabHeader tabHeader = (RibbonTabHeader)d; 586RibbonTabHeader tabHeader = (RibbonTabHeader)d; 598RibbonTabHeader tabHeader = (RibbonTabHeader)d; 621RibbonTabHeader tabHeader = (RibbonTabHeader)d; 632((RibbonTabHeader)sender).OnActivatingKeyTip(e); 700((RibbonTabHeader)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (3)
107RibbonTabHeader header = element as RibbonTabHeader; 119return (item is RibbonTabHeader);