1 instantiation of KeyTipService
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1730_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)
99_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 101Style keyTipStyle = KeyTipService.GetKeyTipStyle(keyTipElement); 111keyTipStyle = 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; 219KeyTipService current = Current; 245KeyTipService current = Current; 254KeyTipService current = Current; 398return ((KeyTipService.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null)); 405return ((KeyTipService.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null)); 430typeof(KeyTipService), 466typeof(KeyTipService), 965!KeyTipService.GetIsKeyTipScope(newScope) && 971KeyTipService.GetIsKeyTipScope(exactMatchElement)) 1300DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new UIPropertyMetadata(true)); 1349DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new UIPropertyMetadata(null)); 1352DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new UIPropertyMetadata(null)); 1355DependencyProperty.RegisterAttached("ShowingKeyTip", typeof(bool), typeof(KeyTipService), 1381KeyTipService current = Current; 1523KeyTipService current = Current; 1547KeyTipService current = Current; 1560public static readonly RoutedEvent ActivatingKeyTipEvent = EventManager.RegisterRoutedEvent("ActivatingKeyTip", RoutingStrategy.Bubble, typeof(ActivatingKeyTipEventHandler), typeof(KeyTipService)); 1572public static readonly RoutedEvent PreviewKeyTipAccessedEvent = EventManager.RegisterRoutedEvent("PreviewKeyTipAccessed", RoutingStrategy.Tunnel, typeof(KeyTipAccessedEventHandler), typeof(KeyTipService)); 1584public static readonly RoutedEvent KeyTipAccessedEvent = EventManager.RegisterRoutedEvent("KeyTipAccessed", RoutingStrategy.Bubble, typeof(KeyTipAccessedEventHandler), typeof(KeyTipService)); 1725internal static KeyTipService Current 1736private 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; 2391if (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)); 1580if (!string.IsNullOrEmpty(KeyTipService.GetKeyTip(element))) 1587!KeyTipService.GetIsKeyTipScope(controlGroup)) 1593!string.IsNullOrEmpty(KeyTipService.GetKeyTip(controlGroupElement))) 1624KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGroup)); 1631get { return KeyTipService.GetKeyTip(this); } 1632set { KeyTipService.SetKeyTip(this, value); } 1766KeyTipService.SetIsKeyTipScope(popupChild, true); 1774KeyTipService.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1275if (KeyTipService.Current.State != KeyTipService.KeyTipState.Enabled && ((e.SystemKey == Key.LeftAlt) || (e.SystemKey == Key.RightAlt)) 1321KeyTipService.DismissKeyTips(); 2277if (markupProp.DependencyProperty == KeyTipService.KeyTipProperty ||
Microsoft\Windows\Controls\Ribbon\RibbonKeyTipAndContentSyncHelper.cs (4)
38string keyTip = KeyTipService.GetKeyTip(element); 64element.CoerceValue(KeyTipService.KeyTipProperty); 128element.CoerceValue(KeyTipService.KeyTipProperty); 149string 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); 1648KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonMenuButton)); 1655get { return KeyTipService.GetKeyTip(this); } 1656set { KeyTipService.SetKeyTip(this, value); } 1688KeyTipService.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); 1125KeyTipService.DismissKeyTips(); 1762KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonMenuItem), 1770get { return KeyTipService.GetKeyTip(this); } 1771set { KeyTipService.SetKeyTip(this, value); } 1832KeyTipService.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)); 315KeyTipService.SetKeyTipAutoGenerationElements(this, keyTipAutoGenerationElements); 320KeyTipService.SetKeyTipAutoGenerationElements(_overflowPanel, keyTipAutoGenerationElements); 599PropertyHelper.IsDefaultValue(contentChild, KeyTipService.KeyTipProperty)) 620PropertyHelper.IsDefaultValue(contentChild, KeyTipService.KeyTipProperty)) 680KeyTipService.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)
411KeyTipService.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))); 847tabHeader.CoerceValue(KeyTipService.KeyTipProperty); 855KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonTab)); 862get { return KeyTipService.GetKeyTip(this); } 863set { 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); 712if (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); }