1 instantiation of KeyTipService
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1712_current = new KeyTipService();
123 references to KeyTipService
System.Windows.Controls.Ribbon (123)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
33RoutedEvent = KeyTipService.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
96_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 98Style keyTipStyle = KeyTipService.GetKeyTipStyle(keyTipElement); 108keyTipStyle = KeyTipService.GetKeyTipStyle(ribbon);
Microsoft\Windows\Controls\KeyTipService.cs (26)
55DependencyProperty.RegisterAttached("KeyTip", typeof(string), typeof(KeyTipService), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged))); 112DependencyProperty.RegisterAttached("IsKeyTipScope", typeof(bool), typeof(KeyTipService), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsKeyTipScopeChanged))); 133DependencyProperty.RegisterAttached("KeyTipStyle", typeof(Style), typeof(KeyTipService), new FrameworkPropertyMetadata(null)); 140DependencyProperty.RegisterAttachedReadOnly("KeyTipScope", typeof(DependencyObject), typeof(KeyTipService), 147KeyTipService current = Current; 216KeyTipService current = Current; 242KeyTipService current = Current; 251KeyTipService current = Current; 395return ((KeyTipService.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null)); 402return ((KeyTipService.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null)); 427typeof(KeyTipService), 463typeof(KeyTipService), 962!KeyTipService.GetIsKeyTipScope(newScope) && 968KeyTipService.GetIsKeyTipScope(exactMatchElement)) 1291DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new UIPropertyMetadata(true)); 1340DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new UIPropertyMetadata(null)); 1343DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new UIPropertyMetadata(null)); 1346DependencyProperty.RegisterAttached("ShowingKeyTip", typeof(bool), typeof(KeyTipService), 1369KeyTipService current = Current; 1505KeyTipService current = Current; 1529KeyTipService current = Current; 1542public static readonly RoutedEvent ActivatingKeyTipEvent = EventManager.RegisterRoutedEvent("ActivatingKeyTip", RoutingStrategy.Bubble, typeof(ActivatingKeyTipEventHandler), typeof(KeyTipService)); 1554public static readonly RoutedEvent PreviewKeyTipAccessedEvent = EventManager.RegisterRoutedEvent("PreviewKeyTipAccessed", RoutingStrategy.Tunnel, typeof(KeyTipAccessedEventHandler), typeof(KeyTipService)); 1566public static readonly RoutedEvent KeyTipAccessedEvent = EventManager.RegisterRoutedEvent("KeyTipAccessed", RoutingStrategy.Bubble, typeof(KeyTipAccessedEventHandler), typeof(KeyTipService)); 1707internal static KeyTipService Current 1718private static KeyTipService _current;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (8)
73KeyTipService.KeyTipFocusEventHandler _keyTipEnterFocusHandler = null; 74KeyTipService.KeyTipFocusEventHandler _keyTipExitRestoreFocusHandler = null; 134_keyTipEnterFocusHandler = new KeyTipService.KeyTipFocusEventHandler(OnKeyTipEnterFocus); 135KeyTipService.Current.KeyTipEnterFocus += _keyTipEnterFocusHandler; 136_keyTipExitRestoreFocusHandler = new KeyTipService.KeyTipFocusEventHandler(OnKeyTipExitRestoreFocus); 137KeyTipService.Current.KeyTipExitRestoreFocus += _keyTipExitRestoreFocusHandler; 2364if (KeyTipService.Current.State == KeyTipService.KeyTipState.None ||
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (5)
51EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 52EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 548KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonButton)); 555get { return KeyTipService.GetKeyTip(this); } 556set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (5)
51EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 52EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 564KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonCheckBox)); 571get { return KeyTipService.GetKeyTip(this); } 572set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (5)
48EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 49EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 743KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip))); 750get { return KeyTipService.GetKeyTip(this); } 751set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (11)
80EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 81EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 111KeyTipService.SetCustomSiblingKeyTipElements(this, new RibbonGroupCustomKeyTipSiblings(this)); 1571if (!string.IsNullOrEmpty(KeyTipService.GetKeyTip(element))) 1578!KeyTipService.GetIsKeyTipScope(controlGroup)) 1584!string.IsNullOrEmpty(KeyTipService.GetKeyTip(controlGroupElement))) 1615KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGroup)); 1622get { return KeyTipService.GetKeyTip(this); } 1623set { KeyTipService.SetKeyTip(this, value); } 1757KeyTipService.SetIsKeyTipScope(popupChild, true); 1765KeyTipService.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1263if (KeyTipService.Current.State != KeyTipService.KeyTipState.Enabled && ((e.SystemKey == Key.LeftAlt) || (e.SystemKey == Key.RightAlt)) 1303KeyTipService.DismissKeyTips(); 2253if (markupProp.DependencyProperty == KeyTipService.KeyTipProperty ||
Microsoft\Windows\Controls\Ribbon\RibbonKeyTipAndContentSyncHelper.cs (4)
38string keyTip = KeyTipService.GetKeyTip(element); 63element.CoerceValue(KeyTipService.KeyTipProperty); 127element.CoerceValue(KeyTipService.KeyTipProperty); 148string keyTip = KeyTipService.GetKeyTip(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (7)
83EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 84EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 711KeyTipService.SetCanClipKeyTip(_submenuScrollViewer, false); 1639KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonMenuButton)); 1646get { return KeyTipService.GetKeyTip(this); } 1647set { KeyTipService.SetKeyTip(this, value); } 1679KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
70EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 71EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 661KeyTipService.SetCanClipKeyTip(_submenuScrollViewer, false); 1122KeyTipService.DismissKeyTips(); 1750KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonMenuItem), 1758get { return KeyTipService.GetKeyTip(this); } 1759set { KeyTipService.SetKeyTip(this, value); } 1820KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (7)
118EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 119EventManager.RegisterClassHandler(ownerType, KeyTipService.PreviewKeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnPreviewKeyTipAccessedThunk)); 306KeyTipService.SetKeyTipAutoGenerationElements(this, keyTipAutoGenerationElements); 311KeyTipService.SetKeyTipAutoGenerationElements(_overflowPanel, keyTipAutoGenerationElements); 587PropertyHelper.IsDefaultValue(contentChild, KeyTipService.KeyTipProperty)) 608PropertyHelper.IsDefaultValue(contentChild, KeyTipService.KeyTipProperty)) 668KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (5)
51EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 52EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 580KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonRadioButton)); 587get { return KeyTipService.GetKeyTip(this); } 588set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
408KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (7)
52EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 53EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 54KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnKeyTipChanged))); 818tabHeader?.CoerceValue(KeyTipService.KeyTipProperty); 825KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonTab)); 832get { return KeyTipService.GetKeyTip(this); } 833set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
45KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceKeyTip))); 46EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 47EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 403CoerceValue(KeyTipService.KeyTipProperty); 709if (KeyTipService.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (5)
50EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 51EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 669KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonTextBox)); 676get { return KeyTipService.GetKeyTip(this); } 677set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (5)
52EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 53EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 599KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonToggleButton)); 606get { return KeyTipService.GetKeyTip(this); } 607set { KeyTipService.SetKeyTip(this, value); }