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)
33
RoutedEvent =
KeyTipService
.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
99
_keyTipControl.Text =
KeyTipService
.GetKeyTip(keyTipElement).ToUpper(
KeyTipService
.GetCultureForElement(keyTipElement));
101
Style keyTipStyle =
KeyTipService
.GetKeyTipStyle(keyTipElement);
111
keyTipStyle =
KeyTipService
.GetKeyTipStyle(ribbon);
Microsoft\Windows\Controls\KeyTipService.cs (26)
55
DependencyProperty.RegisterAttached("KeyTip", typeof(string), typeof(
KeyTipService
), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged)));
112
DependencyProperty.RegisterAttached("IsKeyTipScope", typeof(bool), typeof(
KeyTipService
), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsKeyTipScopeChanged)));
133
DependencyProperty.RegisterAttached("KeyTipStyle", typeof(Style), typeof(
KeyTipService
), new FrameworkPropertyMetadata(null));
140
DependencyProperty.RegisterAttachedReadOnly("KeyTipScope", typeof(DependencyObject), typeof(
KeyTipService
),
147
KeyTipService
current = Current;
219
KeyTipService
current = Current;
245
KeyTipService
current = Current;
254
KeyTipService
current = Current;
398
return ((
KeyTipService
.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null));
405
return ((
KeyTipService
.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null));
430
typeof(
KeyTipService
),
466
typeof(
KeyTipService
),
965
!
KeyTipService
.GetIsKeyTipScope(newScope) &&
971
KeyTipService
.GetIsKeyTipScope(exactMatchElement))
1300
DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(
KeyTipService
), new UIPropertyMetadata(true));
1349
DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(
KeyTipService
), new UIPropertyMetadata(null));
1352
DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(
KeyTipService
), new UIPropertyMetadata(null));
1355
DependencyProperty.RegisterAttached("ShowingKeyTip", typeof(bool), typeof(
KeyTipService
),
1381
KeyTipService
current = Current;
1523
KeyTipService
current = Current;
1547
KeyTipService
current = Current;
1560
public static readonly RoutedEvent ActivatingKeyTipEvent = EventManager.RegisterRoutedEvent("ActivatingKeyTip", RoutingStrategy.Bubble, typeof(ActivatingKeyTipEventHandler), typeof(
KeyTipService
));
1572
public static readonly RoutedEvent PreviewKeyTipAccessedEvent = EventManager.RegisterRoutedEvent("PreviewKeyTipAccessed", RoutingStrategy.Tunnel, typeof(KeyTipAccessedEventHandler), typeof(
KeyTipService
));
1584
public static readonly RoutedEvent KeyTipAccessedEvent = EventManager.RegisterRoutedEvent("KeyTipAccessed", RoutingStrategy.Bubble, typeof(KeyTipAccessedEventHandler), typeof(
KeyTipService
));
1725
internal static
KeyTipService
Current
1736
private static
KeyTipService
_current;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (8)
73
KeyTipService
.KeyTipFocusEventHandler _keyTipEnterFocusHandler = null;
74
KeyTipService
.KeyTipFocusEventHandler _keyTipExitRestoreFocusHandler = null;
134
_keyTipEnterFocusHandler = new
KeyTipService
.KeyTipFocusEventHandler(OnKeyTipEnterFocus);
135
KeyTipService
.Current.KeyTipEnterFocus += _keyTipEnterFocusHandler;
136
_keyTipExitRestoreFocusHandler = new
KeyTipService
.KeyTipFocusEventHandler(OnKeyTipExitRestoreFocus);
137
KeyTipService
.Current.KeyTipExitRestoreFocus += _keyTipExitRestoreFocusHandler;
2391
if (
KeyTipService
.Current.State ==
KeyTipService
.KeyTipState.None ||
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (5)
51
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
52
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
548
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonButton));
555
get { return
KeyTipService
.GetKeyTip(this); }
556
set {
KeyTipService
.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (5)
51
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
52
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
564
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonCheckBox));
571
get { return
KeyTipService
.GetKeyTip(this); }
572
set {
KeyTipService
.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (5)
48
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
49
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
743
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip)));
750
get { return
KeyTipService
.GetKeyTip(this); }
751
set {
KeyTipService
.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (11)
80
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
81
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
111
KeyTipService
.SetCustomSiblingKeyTipElements(this, new RibbonGroupCustomKeyTipSiblings(this));
1580
if (!string.IsNullOrEmpty(
KeyTipService
.GetKeyTip(element)))
1587
!
KeyTipService
.GetIsKeyTipScope(controlGroup))
1593
!string.IsNullOrEmpty(
KeyTipService
.GetKeyTip(controlGroupElement)))
1624
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonGroup));
1631
get { return
KeyTipService
.GetKeyTip(this); }
1632
set {
KeyTipService
.SetKeyTip(this, value); }
1766
KeyTipService
.SetIsKeyTipScope(popupChild, true);
1774
KeyTipService
.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1275
if (
KeyTipService
.Current.State !=
KeyTipService
.KeyTipState.Enabled && ((e.SystemKey == Key.LeftAlt) || (e.SystemKey == Key.RightAlt))
1321
KeyTipService
.DismissKeyTips();
2277
if (markupProp.DependencyProperty ==
KeyTipService
.KeyTipProperty ||
Microsoft\Windows\Controls\Ribbon\RibbonKeyTipAndContentSyncHelper.cs (4)
38
string keyTip =
KeyTipService
.GetKeyTip(element);
64
element.CoerceValue(
KeyTipService
.KeyTipProperty);
128
element.CoerceValue(
KeyTipService
.KeyTipProperty);
149
string keyTip =
KeyTipService
.GetKeyTip(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (7)
83
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
84
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
711
KeyTipService
.SetCanClipKeyTip(_submenuScrollViewer, false);
1648
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonMenuButton));
1655
get { return
KeyTipService
.GetKeyTip(this); }
1656
set {
KeyTipService
.SetKeyTip(this, value); }
1688
KeyTipService
.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (8)
70
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
71
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
661
KeyTipService
.SetCanClipKeyTip(_submenuScrollViewer, false);
1125
KeyTipService
.DismissKeyTips();
1762
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonMenuItem),
1770
get { return
KeyTipService
.GetKeyTip(this); }
1771
set {
KeyTipService
.SetKeyTip(this, value); }
1832
KeyTipService
.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (7)
118
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
119
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.PreviewKeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnPreviewKeyTipAccessedThunk));
315
KeyTipService
.SetKeyTipAutoGenerationElements(this, keyTipAutoGenerationElements);
320
KeyTipService
.SetKeyTipAutoGenerationElements(_overflowPanel, keyTipAutoGenerationElements);
599
PropertyHelper.IsDefaultValue(contentChild,
KeyTipService
.KeyTipProperty))
620
PropertyHelper.IsDefaultValue(contentChild,
KeyTipService
.KeyTipProperty))
680
KeyTipService
.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (5)
51
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
52
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
580
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonRadioButton));
587
get { return
KeyTipService
.GetKeyTip(this); }
588
set {
KeyTipService
.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
411
KeyTipService
.SetIsKeyTipScope(popupChild, true);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (7)
52
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
53
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
54
KeyTipService
.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnKeyTipChanged)));
847
tabHeader.CoerceValue(
KeyTipService
.KeyTipProperty);
855
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonTab));
862
get { return
KeyTipService
.GetKeyTip(this); }
863
set {
KeyTipService
.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
45
KeyTipService
.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceKeyTip)));
46
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
47
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
403
CoerceValue(
KeyTipService
.KeyTipProperty);
712
if (
KeyTipService
.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (5)
50
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
51
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
669
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonTextBox));
676
get { return
KeyTipService
.GetKeyTip(this); }
677
set {
KeyTipService
.SetKeyTip(this, value); }
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (5)
52
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.ActivatingKeyTipEvent, new ActivatingKeyTipEventHandler(OnActivatingKeyTipThunk));
53
EventManager.RegisterClassHandler(ownerType,
KeyTipService
.KeyTipAccessedEvent, new KeyTipAccessedEventHandler(OnKeyTipAccessedThunk));
599
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonToggleButton));
606
get { return
KeyTipService
.GetKeyTip(this); }
607
set {
KeyTipService
.SetKeyTip(this, value); }