26 references to TriggerAction
PresentationFramework (26)
System\Windows\Controls\PopupControlService.cs (18)
152
DependencyObject owner = FindToolTipOwner(directlyOver, ToolTipService.
TriggerAction
.Mouse);
154
BeginShowToolTip(owner, ToolTipService.
TriggerAction
.Mouse);
165
PromotePendingToolTipToCurrent(ToolTipService.
TriggerAction
.Mouse);
187
DependencyObject owner = FindToolTipOwner(focusedElement, ToolTipService.
TriggerAction
.KeyboardFocus);
189
BeginShowToolTip(owner, ToolTipService.
TriggerAction
.KeyboardFocus);
276
DependencyObject owner = FindToolTipOwner(Keyboard.FocusedElement, ToolTipService.
TriggerAction
.KeyboardShortcut);
295
BeginShowToolTip(owner, ToolTipService.
TriggerAction
.KeyboardShortcut);
309
private void BeginShowToolTip(DependencyObject o, ToolTipService.
TriggerAction
triggerAction)
311
if (triggerAction == ToolTipService.
TriggerAction
.Mouse)
343
case ToolTipService.
TriggerAction
.Mouse:
365
case ToolTipService.
TriggerAction
.KeyboardFocus:
369
case ToolTipService.
TriggerAction
.KeyboardShortcut:
405
private void PromotePendingToolTipToCurrent(ToolTipService.
TriggerAction
triggerAction)
655
private DependencyObject FindToolTipOwner(IInputElement element, ToolTipService.
TriggerAction
triggerAction)
663
case ToolTipService.
TriggerAction
.Mouse:
670
case ToolTipService.
TriggerAction
.KeyboardFocus:
671
case ToolTipService.
TriggerAction
.KeyboardShortcut:
826
private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.
TriggerAction
triggerAction)
System\Windows\Controls\ToolTipService.cs (8)
599
internal static bool ToolTipIsEnabled(DependencyObject o,
TriggerAction
triggerAction)
607
if (triggerAction ==
TriggerAction
.KeyboardFocus)
635
internal static bool IsFromKeyboard(ToolTipService.
TriggerAction
triggerAction)
637
return (triggerAction ==
TriggerAction
.KeyboardFocus ||
638
triggerAction ==
TriggerAction
.KeyboardShortcut);
695
internal FindToolTipEventArgs(ToolTipService.
TriggerAction
triggerAction)
707
internal ToolTipService.
TriggerAction
TriggerAction
724
private ToolTipService.
TriggerAction
_triggerAction;