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