97 references to ToolTipService
PresentationFramework (86)
System\Windows\Controls\ComboBox.cs (2)
51
ToolTipService
.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
318
comboBox.CoerceValue(
ToolTipService
.IsEnabledProperty);
System\Windows\Controls\MenuItem.cs (2)
182
ToolTipService
.IsEnabledProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
722
menuItem.CoerceValue(
ToolTipService
.IsEnabledProperty);
System\Windows\Controls\PopupControlService.cs (27)
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:
381
if (
ToolTipService
.GetBetweenShowDelay(currentOwner) == 0)
390
int showDelay = (showNow ? 0 : useShortDelay ? ShortDelay :
ToolTipService
.GetInitialShowDelay(o));
405
private void PromotePendingToolTipToCurrent(
ToolTipService
.TriggerAction triggerAction)
413
ShowToolTip(o,
ToolTipService
.IsFromKeyboard(triggerAction));
444
object tooltip =
ToolTipService
.GetToolTip(o);
457
binding.Path = new PropertyPath(
ToolTipService
.ToolTipProperty);
488
CurrentToolTipTimer.Interval = TimeSpan.FromMilliseconds(
ToolTipService
.GetShowDuration(o));
613
int betweenShowDelay =
ToolTipService
.GetBetweenShowDelay(owner);
655
private DependencyObject FindToolTipOwner(IInputElement element,
ToolTipService
.TriggerAction triggerAction)
663
case
ToolTipService
.TriggerAction.Mouse:
670
case
ToolTipService
.TriggerAction.KeyboardFocus:
671
case
ToolTipService
.TriggerAction.KeyboardShortcut:
674
if (owner != null && !
ToolTipService
.ToolTipIsEnabled(owner, triggerAction))
826
private ToolTip SentinelToolTip(DependencyObject o,
ToolTipService
.TriggerAction triggerAction)
835
_sentinelToolTip.FromKeyboard =
ToolTipService
.IsFromKeyboard(triggerAction);
System\Windows\Controls\ToolBar.cs (2)
69
ToolTipService
.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
276
toolBar.CoerceValue(
ToolTipService
.IsEnabledProperty);
System\Windows\Controls\ToolTip.cs (13)
95
ToolTipService
.HorizontalOffsetProperty.AddOwner(typeof(ToolTip),
101
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.HorizontalOffsetProperty);
126
ToolTipService
.VerticalOffsetProperty.AddOwner(typeof(ToolTip),
132
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.VerticalOffsetProperty);
206
ToolTipService
.HasDropShadowProperty.AddOwner(
220
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.HasDropShadowProperty);
237
ToolTipService
.PlacementTargetProperty.AddOwner(typeof(ToolTip),
243
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.PlacementTargetProperty);
262
ToolTipService
.PlacementRectangleProperty.AddOwner(typeof(ToolTip),
268
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.PlacementRectangleProperty);
286
ToolTipService
.PlacementProperty.AddOwner(typeof(ToolTip),
292
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.PlacementProperty);
348
ToolTipService
.ShowsToolTipOnKeyboardFocusProperty.AddOwner(typeof(ToolTip));
System\Windows\Controls\ToolTipService.cs (24)
31
typeof(
ToolTipService
), // Owner
69
typeof(
ToolTipService
), // Owner
102
typeof(
ToolTipService
), // Owner
135
typeof(
ToolTipService
), // Owner
167
typeof(
ToolTipService
), // Owner
199
typeof(
ToolTipService
), // Owner
231
typeof(
ToolTipService
), // Owner
263
typeof(
ToolTipService
), // Owner
295
typeof(
ToolTipService
), // Owner
332
typeof(
ToolTipService
), // Owner
369
typeof(
ToolTipService
), // Owner
402
typeof(
ToolTipService
), // Owner
435
typeof(
ToolTipService
), // Owner
468
typeof(
ToolTipService
), // Owner
512
typeof(
ToolTipService
));
542
typeof(
ToolTipService
));
573
typeof(
ToolTipService
));
635
internal static bool IsFromKeyboard(
ToolTipService
.TriggerAction triggerAction)
671
RoutedEvent =
ToolTipService
.ToolTipOpeningEvent;
675
RoutedEvent =
ToolTipService
.ToolTipClosingEvent;
695
internal FindToolTipEventArgs(
ToolTipService
.TriggerAction triggerAction)
697
RoutedEvent =
ToolTipService
.FindToolTipEvent;
707
internal
ToolTipService
.TriggerAction TriggerAction
724
private
ToolTipService
.TriggerAction _triggerAction;
System\Windows\FrameworkContentElement.cs (5)
1829
ToolTipService
.ToolTipProperty.AddOwner(typeof(FrameworkContentElement));
1843
return
ToolTipService
.GetToolTip(this);
1848
ToolTipService
.SetToolTip(this, value);
1879
public static readonly RoutedEvent ToolTipOpeningEvent =
ToolTipService
.ToolTipOpeningEvent.AddOwner(typeof(FrameworkContentElement));
1917
public static readonly RoutedEvent ToolTipClosingEvent =
ToolTipService
.ToolTipClosingEvent.AddOwner(typeof(FrameworkContentElement));
System\Windows\FrameworkElement.cs (5)
5884
ToolTipService
.ToolTipProperty.AddOwner(_typeofThis);
5899
return
ToolTipService
.GetToolTip(this);
5904
ToolTipService
.SetToolTip(this, value);
5936
public static readonly RoutedEvent ToolTipOpeningEvent =
ToolTipService
.ToolTipOpeningEvent.AddOwner(_typeofThis);
5974
public static readonly RoutedEvent ToolTipClosingEvent =
ToolTipService
.ToolTipClosingEvent.AddOwner(_typeofThis);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
770
case 674: t = () => typeof(
ToolTipService
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7683
Type type = typeof(System.Windows.Controls.
ToolTipService
);
7684
DependencyProperty dp = System.Windows.Controls.
ToolTipService
.ToolTipProperty;
7686
this.GetXamlType(typeof(System.Windows.Controls.
ToolTipService
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10428
typeof(System.Windows.Controls.
ToolTipService
),
System\Windows\Markup\KnownTypes.cs (1)
6228
case KnownElements.ToolTipService: t = typeof(System.Windows.Controls.
ToolTipService
); break;
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
50
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
49
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
67
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
46
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
65
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
62
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
61
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
49
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
41
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
49
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
50
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));