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)
33
RoutedEvent =
KeyTipService
.ActivatingKeyTipEvent;
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
96
_keyTipControl.Text =
KeyTipService
.GetKeyTip(keyTipElement).ToUpper(
KeyTipService
.GetCultureForElement(keyTipElement));
98
Style keyTipStyle =
KeyTipService
.GetKeyTipStyle(keyTipElement);
108
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;
216
KeyTipService
current = Current;
242
KeyTipService
current = Current;
251
KeyTipService
current = Current;
395
return ((
KeyTipService
.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null));
402
return ((
KeyTipService
.GetIsKeyTipScope(d) == true) || (TreeHelper.GetParent(d) == null));
427
typeof(
KeyTipService
),
463
typeof(
KeyTipService
),
962
!
KeyTipService
.GetIsKeyTipScope(newScope) &&
968
KeyTipService
.GetIsKeyTipScope(exactMatchElement))
1291
DependencyProperty.RegisterAttached("CanClipKeyTip", typeof(bool), typeof(
KeyTipService
), new UIPropertyMetadata(true));
1340
DependencyProperty.RegisterAttached("KeyTipAdorner", typeof(KeyTipAdorner), typeof(
KeyTipService
), new UIPropertyMetadata(null));
1343
DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(
KeyTipService
), new UIPropertyMetadata(null));
1346
DependencyProperty.RegisterAttached("ShowingKeyTip", typeof(bool), typeof(
KeyTipService
),
1369
KeyTipService
current = Current;
1505
KeyTipService
current = Current;
1529
KeyTipService
current = Current;
1542
public static readonly RoutedEvent ActivatingKeyTipEvent = EventManager.RegisterRoutedEvent("ActivatingKeyTip", RoutingStrategy.Bubble, typeof(ActivatingKeyTipEventHandler), typeof(
KeyTipService
));
1554
public static readonly RoutedEvent PreviewKeyTipAccessedEvent = EventManager.RegisterRoutedEvent("PreviewKeyTipAccessed", RoutingStrategy.Tunnel, typeof(KeyTipAccessedEventHandler), typeof(
KeyTipService
));
1566
public static readonly RoutedEvent KeyTipAccessedEvent = EventManager.RegisterRoutedEvent("KeyTipAccessed", RoutingStrategy.Bubble, typeof(KeyTipAccessedEventHandler), typeof(
KeyTipService
));
1707
internal static
KeyTipService
Current
1718
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;
2364
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));
1571
if (!string.IsNullOrEmpty(
KeyTipService
.GetKeyTip(element)))
1578
!
KeyTipService
.GetIsKeyTipScope(controlGroup))
1584
!string.IsNullOrEmpty(
KeyTipService
.GetKeyTip(controlGroupElement)))
1615
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonGroup));
1622
get { return
KeyTipService
.GetKeyTip(this); }
1623
set {
KeyTipService
.SetKeyTip(this, value); }
1757
KeyTipService
.SetIsKeyTipScope(popupChild, true);
1765
KeyTipService
.GetIsKeyTipScope(tab))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (4)
1263
if (
KeyTipService
.Current.State !=
KeyTipService
.KeyTipState.Enabled && ((e.SystemKey == Key.LeftAlt) || (e.SystemKey == Key.RightAlt))
1303
KeyTipService
.DismissKeyTips();
2253
if (markupProp.DependencyProperty ==
KeyTipService
.KeyTipProperty ||
Microsoft\Windows\Controls\Ribbon\RibbonKeyTipAndContentSyncHelper.cs (4)
38
string keyTip =
KeyTipService
.GetKeyTip(element);
63
element.CoerceValue(
KeyTipService
.KeyTipProperty);
127
element.CoerceValue(
KeyTipService
.KeyTipProperty);
148
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);
1639
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonMenuButton));
1646
get { return
KeyTipService
.GetKeyTip(this); }
1647
set {
KeyTipService
.SetKeyTip(this, value); }
1679
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);
1122
KeyTipService
.DismissKeyTips();
1750
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonMenuItem),
1758
get { return
KeyTipService
.GetKeyTip(this); }
1759
set {
KeyTipService
.SetKeyTip(this, value); }
1820
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));
306
KeyTipService
.SetKeyTipAutoGenerationElements(this, keyTipAutoGenerationElements);
311
KeyTipService
.SetKeyTipAutoGenerationElements(_overflowPanel, keyTipAutoGenerationElements);
587
PropertyHelper.IsDefaultValue(contentChild,
KeyTipService
.KeyTipProperty))
608
PropertyHelper.IsDefaultValue(contentChild,
KeyTipService
.KeyTipProperty))
668
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)
408
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)));
818
tabHeader?.CoerceValue(
KeyTipService
.KeyTipProperty);
825
KeyTipService
.KeyTipProperty.AddOwner(typeof(RibbonTab));
832
get { return
KeyTipService
.GetKeyTip(this); }
833
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);
709
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); }