26 references to TriggerAction
PresentationFramework (26)
System\Windows\Controls\PopupControlService.cs (18)
142DependencyObject owner = FindToolTipOwner(directlyOver, ToolTipService.TriggerAction.Mouse); 144BeginShowToolTip(owner, ToolTipService.TriggerAction.Mouse); 155PromotePendingToolTipToCurrent(ToolTipService.TriggerAction.Mouse); 177DependencyObject owner = FindToolTipOwner(focusedElement, ToolTipService.TriggerAction.KeyboardFocus); 179BeginShowToolTip(owner, ToolTipService.TriggerAction.KeyboardFocus); 266DependencyObject owner = FindToolTipOwner(Keyboard.FocusedElement, ToolTipService.TriggerAction.KeyboardShortcut); 285BeginShowToolTip(owner, ToolTipService.TriggerAction.KeyboardShortcut); 299private void BeginShowToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 301if (triggerAction == ToolTipService.TriggerAction.Mouse) 333case ToolTipService.TriggerAction.Mouse: 355case ToolTipService.TriggerAction.KeyboardFocus: 359case ToolTipService.TriggerAction.KeyboardShortcut: 395private void PromotePendingToolTipToCurrent(ToolTipService.TriggerAction triggerAction) 645private DependencyObject FindToolTipOwner(IInputElement element, ToolTipService.TriggerAction triggerAction) 653case ToolTipService.TriggerAction.Mouse: 660case ToolTipService.TriggerAction.KeyboardFocus: 661case ToolTipService.TriggerAction.KeyboardShortcut: 816private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction)
System\Windows\Controls\ToolTipService.cs (8)
594internal static bool ToolTipIsEnabled(DependencyObject o, TriggerAction triggerAction) 602if (triggerAction == TriggerAction.KeyboardFocus) 630internal static bool IsFromKeyboard(ToolTipService.TriggerAction triggerAction) 632return (triggerAction == TriggerAction.KeyboardFocus || 633triggerAction == TriggerAction.KeyboardShortcut); 690internal FindToolTipEventArgs(ToolTipService.TriggerAction triggerAction) 702internal ToolTipService.TriggerAction TriggerAction 719private ToolTipService.TriggerAction _triggerAction;