20 references to OwningRibbon
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (20)
55
if (
OwningRibbon
.IsCollapsed)
68
ItemsControl tabHeadersItemsControl =
OwningRibbon
.RibbonTabHeaderItemsControl;
84
if (
OwningRibbon
.IsCollapsed)
92
if (
OwningRibbon
.QuickAccessToolBar != null)
94
AutomationPeer peer = CreatePeerForElement(
OwningRibbon
.QuickAccessToolBar);
101
if (
OwningRibbon
.TitleHost != null)
103
AutomationPeer peer = CreatePeerForElement(
OwningRibbon
.TitleHost);
106
FrameworkElement titleHost =
OwningRibbon
.TitleHost as FrameworkElement;
110
peer = new UIElementAutomationPeer(
OwningRibbon
.TitleHost);
115
if (
OwningRibbon
.ContextualTabGroupItemsControl != null)
117
AutomationPeer peer = CreatePeerForElement(
OwningRibbon
.ContextualTabGroupItemsControl);
125
if (
OwningRibbon
.ApplicationMenu != null)
127
AutomationPeer peer = CreatePeerForElement(
OwningRibbon
.ApplicationMenu);
137
if (
OwningRibbon
.RibbonTabHeaderItemsControl != null)
140
AutomationPeer peer = CreatePeerForElement(
OwningRibbon
.RibbonTabHeaderItemsControl);
208
UIElement helpPaneHost =
OwningRibbon
.HelpPaneHost;
235
return
OwningRibbon
.IsCollapsed ? true : base.IsOffscreenCore();
268
OwningRibbon
.IsMinimized = true;
276
OwningRibbon
.IsMinimized = false;
286
return
OwningRibbon
.IsMinimized ? ExpandCollapseState.Collapsed : ExpandCollapseState.Expanded;