1 instantiation of RibbonTab
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
1027return new RibbonTab();
112 references to RibbonTab
System.Windows.Controls.Ribbon (112)
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (3)
30public RibbonTabAutomationPeer(RibbonTab owner) 110private RibbonTab OwningTab 114return (RibbonTab)Owner;
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (12)
41RibbonTab wrapperTab = GetWrapper() as RibbonTab; 74RibbonTab wrapperTab = GetWrapper() as RibbonTab; 91RibbonTab wrapperTab = GetWrapper() as RibbonTab; 112RibbonTab wrapperTab = GetWrapper() as RibbonTab; 144RibbonTab tab = GetWrapper() as RibbonTab; 172RibbonTab wrapperTab = GetWrapper() as RibbonTab;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (4)
140RibbonTab ribbonTab = ParentRibbonTab; 282private RibbonTab ParentRibbonTab 289return itemsPresenter.TemplatedParent as RibbonTab; 346RibbonTab ribbonTab,
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
680RibbonTab tab = tabHeader.RibbonTab;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (2)
246RibbonTab firstTab = groupHeader.FirstVisibleTab; 265foreach (RibbonTab tab in groupHeader.Tabs)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (19)
865RibbonTab firstVisibleTab = tabGroupHeader.FirstVisibleTab; 1035return (item is RibbonTab); 1082RibbonTab container = element as RibbonTab; 1278RibbonTab selectedTab = ribbon.ItemContainerGenerator.ContainerFromItem(ribbon.SelectedItem) as RibbonTab; 1504RibbonTab ribbonTab = ribbon.ItemContainerGenerator.ContainerFromIndex(i) as RibbonTab; 1565RibbonTab tab = ItemContainerGenerator.ContainerFromIndex(i) as RibbonTab; 1675RibbonTab tab = ItemContainerGenerator.ContainerFromIndex(i) as RibbonTab; 1900RibbonTab selectedTab = null; 1904selectedTab = ItemContainerGenerator.ContainerFromIndex(selectedIndex) as RibbonTab; 1976private bool TabArrowKeyControlNavigate(RibbonTab tab, 1985return ArrowKeyControlNavigate<RibbonTab>(tab, 1995private int GetFocusedRibbonGroupIndex(RibbonTab tab) 2005private bool TrySetFocusOnRibbonGroupAtIndex(RibbonTab tab, 2239RibbonTab selectedTab,
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (12)
216internal IEnumerable<RibbonTab> Tabs 228internal RibbonTab FirstVisibleTab 232IEnumerable<RibbonTab> tabs = Tabs; 235foreach (RibbonTab tab in tabs) 460RibbonTab tab = Ribbon.ItemContainerGenerator.ContainerFromIndex(i) as RibbonTab; 483IEnumerable<RibbonTab> tabs = Tabs; 486foreach (RibbonTab tab in tabs) 497private class TabsEnumerable : IEnumerable<RibbonTab> 516public IEnumerator<RibbonTab> GetEnumerator() 524RibbonTab tab = ribbon.ItemContainerGenerator.ContainerFromIndex(i) as RibbonTab;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (1)
184foreach (RibbonTab tab in tabGroupHeader.Tabs)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1772RibbonTab tab = ItemsControl.ItemsControlFromItemContainer(this) as RibbonTab;
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (32)
41Type ownerType = typeof(RibbonTab); 93typeof(RibbonTab), 109Selector.IsSelectedProperty.AddOwner(typeof(RibbonTab), 127DependencyProperty.Register("ContextualTabGroupHeader", typeof(object), typeof(RibbonTab), new UIPropertyMetadata(null, new PropertyChangedCallback(OnContextualTabGroupHeaderChanged))); 130DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTab), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 148DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(RibbonTab), new FrameworkPropertyMetadata(null, OnNotifyHeaderPropertyChanged, CoerceHeaderStyle)); 154RibbonControlService.RibbonProperty.AddOwner(typeof(RibbonTab)); 200DependencyProperty.RegisterReadOnly("TabHeaderLeft", typeof(double), typeof(RibbonTab), null); 214DependencyProperty.RegisterReadOnly("TabHeaderRight", typeof(double), typeof(RibbonTab), null); 642RibbonTab tab = (RibbonTab)d; 675RibbonTab tab = (RibbonTab)sender; 697RibbonTab tab = (RibbonTab)d; 711RibbonTab ribbonTab = (RibbonTab)sender; 743RibbonTab ribbonTab = (RibbonTab)sender; 756RibbonTab ribbonTab = (RibbonTab)d; 799RibbonTab tab = (RibbonTab)d; 810RibbonTab ribbonTab = (RibbonTab)d; 820RibbonTab ribbonTab = (RibbonTab)d; 843RibbonTab tab = (RibbonTab)d; 855KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonTab)); 868((RibbonTab)sender).OnActivatingKeyTip(e); 884((RibbonTab)sender).OnKeyTipAccessed(e);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (24)
119internal RibbonTab RibbonTab 128return ribbon.ItemContainerGenerator.ContainerFromIndex(index) as RibbonTab; 289RibbonTab ribbonTab = RibbonTab; 336RibbonTab ribbonTab = RibbonTab; 353RibbonTab tab = RibbonTab; 419if (e.Property == StyleProperty || e.Property == RibbonTab.HeaderStyleProperty || e.Property == Ribbon.TabHeaderStyleProperty) 423else if (e.Property == ContentProperty || e.Property == RibbonTab.HeaderProperty) 427else if (e.Property == ContentTemplateProperty || e.Property == RibbonTab.HeaderTemplateProperty || e.Property == Ribbon.TabHeaderTemplateProperty) 431else if (e.Property == ContentTemplateSelectorProperty || e.Property == RibbonTab.HeaderTemplateSelectorProperty) 435else if (e.Property == ContentStringFormatProperty || e.Property == RibbonTab.HeaderStringFormatProperty) 439else if (e.Property == RibbonTab.ContextualTabGroupHeaderProperty) 443else if (e.Property == RibbonTab.ContextualTabGroupProperty) 456RibbonTab tab = tabHeader.RibbonTab; 468RibbonTab tab = tabHeader.RibbonTab; 486RibbonTab tab = header.RibbonTab; 503RibbonTab tab = header.RibbonTab; 514RibbonTab tab = header.RibbonTab; 553RibbonTab.HeaderStyleProperty, 567RibbonTab.HeaderProperty); 579RibbonTab.HeaderTemplateProperty, 593RibbonTab.HeaderTemplateSelectorProperty); 605RibbonTab.HeaderStringFormatProperty); 622RibbonTab tab = tabHeader.RibbonTab; 707RibbonTab tab = RibbonTab;