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