1 instantiation of RibbonTabHeader
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
100return new RibbonTabHeader();
76 references to RibbonTabHeader
System.Windows.Controls.Ribbon (76)
Microsoft\Windows\Automation\Peers\RibbonTabHeaderAutomationPeer.cs (1)
32public RibbonTabHeaderAutomationPeer(RibbonTabHeader owner)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (18)
119RibbonTabHeader ribbonTabHeader = child as RibbonTabHeader; 386RibbonTabHeader ribbonTabHeader = children[i] as RibbonTabHeader; 439RibbonTabHeader ribbonTabHeader = children[i] as RibbonTabHeader; 499RibbonTabHeader tabHeader = element as RibbonTabHeader; 552RibbonTabHeader tabHeader = element as RibbonTabHeader; 612RibbonTabHeader tabHeader = element as RibbonTabHeader; 642RibbonTabHeader tabHeader = children[i] as RibbonTabHeader; 652public RibbonTabHeader RibbonTabHeader { get; set; } 680RibbonTabHeader tabHeader = child as RibbonTabHeader; 735RibbonTabHeader child = headerAndIndex.RibbonTabHeader;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
253RibbonTabHeader tabHeader = firstTab.RibbonTabHeader;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (5)
47[StyleTypedProperty(Property = "TabHeaderStyle", StyleTargetType = typeof(RibbonTabHeader))] 786internal void NotifyMouseClickedOnTabHeader(RibbonTabHeader tabHeader, MouseButtonEventArgs e) 1939private RibbonTabHeader SelectedTabHeader 1953return (tabHeaderItemsControl.ItemContainerGenerator.ContainerFromIndex(selectedIndex) as RibbonTabHeader); 1965RibbonTabHeader tabHeader = SelectedTabHeader;
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (11)
36[StyleTypedProperty(Property = "HeaderStyle", StyleTargetType = typeof(RibbonTabHeader))] 180internal RibbonTabHeader RibbonTabHeader 193return headerItemsControl.ItemContainerGenerator.ContainerFromIndex(index) as RibbonTabHeader; 379RibbonTabHeader tabHeader = RibbonTabHeader; 617RibbonTabHeader tabHeader = RibbonTabHeader; 722RibbonTabHeader header = ribbonTab.RibbonTabHeader; 725header.CoerceValue(RibbonTabHeader.IsRibbonTabSelectedProperty); 746RibbonTabHeader header = ribbonTab.RibbonTabHeader; 749header.CoerceValue(RibbonTabHeader.IsEnabledProperty); 803RibbonTabHeader tabHeader = tab.RibbonTabHeader; 846RibbonTabHeader tabHeader = tab.RibbonTabHeader;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (37)
30[TemplatePart(Name = RibbonTabHeader.OuterBorderTemplatePartName, Type = typeof(Border))] 37Type ownerType = typeof(RibbonTabHeader); 68DependencyProperty.RegisterReadOnly("IsRibbonTabSelected", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsRibbonTabSelectedChanged), new CoerceValueCallback(OnCoerceIsRibbonTabSelected))); 83DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(CoerceContextualTabGroup))); 94DependencyProperty.RegisterReadOnly("IsContextualTab", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceIsContextualTab))); 108RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonTabHeader)); 177RibbonControlService.MouseOverBorderBrushProperty.AddOwner(typeof(RibbonTabHeader)); 192RibbonControlService.MouseOverBackgroundProperty.AddOwner(typeof(RibbonTabHeader)); 207RibbonControlService.FocusedBackgroundProperty.AddOwner(typeof(RibbonTabHeader)); 222RibbonControlService.FocusedBorderBrushProperty.AddOwner(typeof(RibbonTabHeader)); 237RibbonControlService.CheckedBackgroundProperty.AddOwner(typeof(RibbonTabHeader)); 252RibbonControlService.CheckedBorderBrushProperty.AddOwner(typeof(RibbonTabHeader)); 457RibbonTabHeader tabHeader = (RibbonTabHeader)d; 469RibbonTabHeader tabHeader = (RibbonTabHeader)d; 487RibbonTabHeader header = (RibbonTabHeader)d; 504RibbonTabHeader header = (RibbonTabHeader)d; 515RibbonTabHeader header = (RibbonTabHeader)d; 543((RibbonTabHeader)d).NotifyPropertyChanged(e); 548RibbonTabHeader tabHeader = (RibbonTabHeader)d; 562RibbonTabHeader tabHeader = (RibbonTabHeader)d; 574RibbonTabHeader tabHeader = (RibbonTabHeader)d; 588RibbonTabHeader tabHeader = (RibbonTabHeader)d; 600RibbonTabHeader tabHeader = (RibbonTabHeader)d; 623RibbonTabHeader tabHeader = (RibbonTabHeader)d; 634((RibbonTabHeader)sender).OnActivatingKeyTip(e); 702((RibbonTabHeader)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (3)
109RibbonTabHeader header = element as RibbonTabHeader; 121return (item is RibbonTabHeader);