1 instantiation of KeyTipService
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipService.cs (1)
1711_current = new KeyTipService();
123 references to KeyTipService
System.Windows.Controls.Ribbon (123)
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
32RoutedEvent = KeyTipService.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
95_keyTipControl.Text = KeyTipService.GetKeyTip(keyTipElement).ToUpper(KeyTipService.GetCultureForElement(keyTipElement)); 97Style keyTipStyle = KeyTipService.GetKeyTipStyle(keyTipElement); 107keyTipStyle = KeyTipService.GetKeyTipStyle(ribbon);
Microsoft\Windows\Controls\KeyTipService.cs (26)
54DependencyProperty.RegisterAttached("KeyTip", typeof(string), typeof(KeyTipService), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged))); 111DependencyProperty.RegisterAttached("IsKeyTipScope", typeof(bool), typeof(KeyTipService), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsKeyTipScopeChanged))); 132DependencyProperty.RegisterAttached("KeyTipStyle", typeof(Style), typeof(KeyTipService), new FrameworkPropertyMetadata(null)); 139DependencyProperty.RegisterAttachedReadOnly("KeyTipScope", typeof(DependencyObject), typeof(KeyTipService), 146KeyTipService current = Current; 215KeyTipService current = Current; 241KeyTipService current = Current; 250KeyTipService current = Current; 394return ((KeyTipService.GetIsKeyTipScope(d)) || (TreeHelper.GetParent(d) == null)); 401return ((KeyTipService.GetIsKeyTipScope(d)) || (TreeHelper.GetParent(d) == null)); 426typeof(KeyTipService), 462typeof(KeyTipService), 961!KeyTipService.GetIsKeyTipScope(newScope) && 967KeyTipService.GetIsKeyTipScope(exactMatchElement)) 1290DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(KeyTipService), new UIPropertyMetadata(true)); 1339DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(KeyTipService), new UIPropertyMetadata(null)); 1342DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new UIPropertyMetadata(null)); 1345DependencyProperty.RegisterAttached("ShowingKeyTip", typeof(bool), typeof(KeyTipService), 1368KeyTipService current = Current; 1504KeyTipService current = Current; 1528KeyTipService current = Current; 1541public static readonly RoutedEvent ActivatingKeyTipEvent = EventManager.RegisterRoutedEvent("ActivatingKeyTip", RoutingStrategy.Bubble, typeof(ActivatingKeyTipEventHandler), typeof(KeyTipService)); 1553public static readonly RoutedEvent PreviewKeyTipAccessedEvent = EventManager.RegisterRoutedEvent("PreviewKeyTipAccessed", RoutingStrategy.Tunnel, typeof(KeyTipAccessedEventHandler), typeof(KeyTipService)); 1565public static readonly RoutedEvent KeyTipAccessedEvent = EventManager.RegisterRoutedEvent("KeyTipAccessed", RoutingStrategy.Bubble, typeof(KeyTipAccessedEventHandler), typeof(KeyTipService)); 1706internal static KeyTipService Current 1717private static KeyTipService _current;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (8)
72private KeyTipService.KeyTipFocusEventHandler _keyTipEnterFocusHandler = null; 73private KeyTipService.KeyTipFocusEventHandler _keyTipExitRestoreFocusHandler = null; 133_keyTipEnterFocusHandler = new KeyTipService.KeyTipFocusEventHandler(OnKeyTipEnterFocus); 134KeyTipService.Current.KeyTipEnterFocus += _keyTipEnterFocusHandler; 135_keyTipExitRestoreFocusHandler = new KeyTipService.KeyTipFocusEventHandler(OnKeyTipExitRestoreFocus); 136KeyTipService.Current.KeyTipExitRestoreFocus += _keyTipExitRestoreFocusHandler; 2363if (KeyTipService.Current.State == KeyTipService.KeyTipState.None ||
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (5)
50EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 51EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 547KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonButton)); 554get { return KeyTipService.GetKeyTip(this); } 555set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (5)
50EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 51EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 563KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonCheckBox)); 570get { return KeyTipService.GetKeyTip(this); } 571set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (5)
47EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 48EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 742KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip))); 749get { return KeyTipService.GetKeyTip(this); } 750set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (11)
79EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 80EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 110KeyTipService.SetCustomSiblingKeyTipElements(this, new RibbonGroupCustomKeyTipSiblings(this)); 1570if (!string.IsNullOrEmpty(KeyTipService.GetKeyTip(element))) 1577!KeyTipService.GetIsKeyTipScope(controlGroup)) 1583!string.IsNullOrEmpty(KeyTipService.GetKeyTip(controlGroupElement))) 1614KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGroup)); 1621get { return KeyTipService.GetKeyTip(this); } 1622set { KeyTipService.SetKeyTip(this, value); } 1756KeyTipService.SetIsKeyTipScope(popupChild, true); 1764KeyTipService.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1262if (KeyTipService.Current.State != KeyTipService.KeyTipState.Enabled && ((e.SystemKey == Key.LeftAlt) || (e.SystemKey == Key.RightAlt)) 1302KeyTipService.DismissKeyTips(); 2252if (markupProp.DependencyProperty == KeyTipService.KeyTipProperty ||
Microsoft\Windows\Controls\Ribbon\RibbonKeyTipAndContentSyncHelper.cs (4)
37string keyTip = KeyTipService.GetKeyTip(element); 62element.CoerceValue(KeyTipService.KeyTipProperty); 126element.CoerceValue(KeyTipService.KeyTipProperty); 147string keyTip = KeyTipService.GetKeyTip(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (7)
82EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 83EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 710KeyTipService.SetCanClipKeyTip(_submenuScrollViewer, false); 1638KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonMenuButton)); 1645get { return KeyTipService.GetKeyTip(this); } 1646set { KeyTipService.SetKeyTip(this, value); } 1678KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
69EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 70EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 660KeyTipService.SetCanClipKeyTip(_submenuScrollViewer, false); 1121KeyTipService.DismissKeyTips(); 1748KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonMenuItem), 1756get { return KeyTipService.GetKeyTip(this); } 1757set { KeyTipService.SetKeyTip(this, value); } 1818KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (7)
117EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 118EventManager.RegisterClassHandler(ownerType, KeyTipService.PreviewKeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnPreviewKeyTipAccessedThunk)); 305KeyTipService.SetKeyTipAutoGenerationElements(this, keyTipAutoGenerationElements); 310KeyTipService.SetKeyTipAutoGenerationElements(_overflowPanel, keyTipAutoGenerationElements); 586PropertyHelper.IsDefaultValue(contentChild, KeyTipService.KeyTipProperty)) 607PropertyHelper.IsDefaultValue(contentChild, KeyTipService.KeyTipProperty)) 667KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (5)
50EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 51EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 579KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonRadioButton)); 586get { return KeyTipService.GetKeyTip(this); } 587set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
406KeyTipService.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (7)
51EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 52EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 53KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnKeyTipChanged))); 817tabHeader?.CoerceValue(KeyTipService.KeyTipProperty); 824KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonTab)); 831get { return KeyTipService.GetKeyTip(this); } 832set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
44KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceKeyTip))); 45EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 46EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 402CoerceValue(KeyTipService.KeyTipProperty); 708if (KeyTipService.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (5)
49EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 50EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 668KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonTextBox)); 675get { return KeyTipService.GetKeyTip(this); } 676set { KeyTipService.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (5)
51EventManager.RegisterClassHandler(ownerType, KeyTipService.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk)); 52EventManager.RegisterClassHandler(ownerType, KeyTipService.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk)); 598KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonToggleButton)); 605get { return KeyTipService.GetKeyTip(this); } 606set { KeyTipService.SetKeyTip(this, value); }