97 references to ToolTipService
PresentationFramework (86)
System\Windows\Controls\ComboBox.cs (2)
41
ToolTipService
.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
308
comboBox.CoerceValue(
ToolTipService
.IsEnabledProperty);
System\Windows\Controls\MenuItem.cs (2)
172
ToolTipService
.IsEnabledProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
712
menuItem.CoerceValue(
ToolTipService
.IsEnabledProperty);
System\Windows\Controls\PopupControlService.cs (27)
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:
371
if (
ToolTipService
.GetBetweenShowDelay(currentOwner) == 0)
380
int showDelay = (showNow ? 0 : useShortDelay ? ShortDelay :
ToolTipService
.GetInitialShowDelay(o));
395
private void PromotePendingToolTipToCurrent(
ToolTipService
.TriggerAction triggerAction)
403
ShowToolTip(o,
ToolTipService
.IsFromKeyboard(triggerAction));
434
object tooltip =
ToolTipService
.GetToolTip(o);
447
binding.Path = new PropertyPath(
ToolTipService
.ToolTipProperty);
478
CurrentToolTipTimer.Interval = TimeSpan.FromMilliseconds(
ToolTipService
.GetShowDuration(o));
603
int betweenShowDelay =
ToolTipService
.GetBetweenShowDelay(owner);
645
private DependencyObject FindToolTipOwner(IInputElement element,
ToolTipService
.TriggerAction triggerAction)
653
case
ToolTipService
.TriggerAction.Mouse:
660
case
ToolTipService
.TriggerAction.KeyboardFocus:
661
case
ToolTipService
.TriggerAction.KeyboardShortcut:
664
if (owner != null && !
ToolTipService
.ToolTipIsEnabled(owner, triggerAction))
816
private ToolTip SentinelToolTip(DependencyObject o,
ToolTipService
.TriggerAction triggerAction)
825
_sentinelToolTip.FromKeyboard =
ToolTipService
.IsFromKeyboard(triggerAction);
System\Windows\Controls\ToolBar.cs (2)
60
ToolTipService
.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
267
toolBar.CoerceValue(
ToolTipService
.IsEnabledProperty);
System\Windows\Controls\ToolTip.cs (13)
82
ToolTipService
.HorizontalOffsetProperty.AddOwner(typeof(ToolTip),
88
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.HorizontalOffsetProperty);
113
ToolTipService
.VerticalOffsetProperty.AddOwner(typeof(ToolTip),
119
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.VerticalOffsetProperty);
193
ToolTipService
.HasDropShadowProperty.AddOwner(
207
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.HasDropShadowProperty);
224
ToolTipService
.PlacementTargetProperty.AddOwner(typeof(ToolTip),
230
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.PlacementTargetProperty);
249
ToolTipService
.PlacementRectangleProperty.AddOwner(typeof(ToolTip),
255
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.PlacementRectangleProperty);
273
ToolTipService
.PlacementProperty.AddOwner(typeof(ToolTip),
279
return PopupControlService.CoerceProperty(d, value,
ToolTipService
.PlacementProperty);
335
ToolTipService
.ShowsToolTipOnKeyboardFocusProperty.AddOwner(typeof(ToolTip));
System\Windows\Controls\ToolTipService.cs (24)
26
typeof(
ToolTipService
), // Owner
64
typeof(
ToolTipService
), // Owner
97
typeof(
ToolTipService
), // Owner
130
typeof(
ToolTipService
), // Owner
162
typeof(
ToolTipService
), // Owner
194
typeof(
ToolTipService
), // Owner
226
typeof(
ToolTipService
), // Owner
258
typeof(
ToolTipService
), // Owner
290
typeof(
ToolTipService
), // Owner
327
typeof(
ToolTipService
), // Owner
364
typeof(
ToolTipService
), // Owner
397
typeof(
ToolTipService
), // Owner
430
typeof(
ToolTipService
), // Owner
463
typeof(
ToolTipService
), // Owner
507
typeof(
ToolTipService
));
537
typeof(
ToolTipService
));
568
typeof(
ToolTipService
));
630
internal static bool IsFromKeyboard(
ToolTipService
.TriggerAction triggerAction)
666
RoutedEvent =
ToolTipService
.ToolTipOpeningEvent;
670
RoutedEvent =
ToolTipService
.ToolTipClosingEvent;
690
internal FindToolTipEventArgs(
ToolTipService
.TriggerAction triggerAction)
692
RoutedEvent =
ToolTipService
.FindToolTipEvent;
702
internal
ToolTipService
.TriggerAction TriggerAction
719
private
ToolTipService
.TriggerAction _triggerAction;
System\Windows\FrameworkContentElement.cs (5)
1817
ToolTipService
.ToolTipProperty.AddOwner(typeof(FrameworkContentElement));
1831
return
ToolTipService
.GetToolTip(this);
1836
ToolTipService
.SetToolTip(this, value);
1867
public static readonly RoutedEvent ToolTipOpeningEvent =
ToolTipService
.ToolTipOpeningEvent.AddOwner(typeof(FrameworkContentElement));
1905
public static readonly RoutedEvent ToolTipClosingEvent =
ToolTipService
.ToolTipClosingEvent.AddOwner(typeof(FrameworkContentElement));
System\Windows\FrameworkElement.cs (5)
5873
ToolTipService
.ToolTipProperty.AddOwner(_typeofThis);
5888
return
ToolTipService
.GetToolTip(this);
5893
ToolTipService
.SetToolTip(this, value);
5925
public static readonly RoutedEvent ToolTipOpeningEvent =
ToolTipService
.ToolTipOpeningEvent.AddOwner(_typeofThis);
5963
public static readonly RoutedEvent ToolTipClosingEvent =
ToolTipService
.ToolTipClosingEvent.AddOwner(_typeofThis);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
768
case 674: t = () => typeof(
ToolTipService
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7681
Type type = typeof(System.Windows.Controls.
ToolTipService
);
7682
DependencyProperty dp = System.Windows.Controls.
ToolTipService
.ToolTipProperty;
7684
this.GetXamlType(typeof(System.Windows.Controls.
ToolTipService
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10426
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)
47
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
47
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
65
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
44
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
62
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
59
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
58
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
47
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
39
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
47
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
48
ToolTipService
.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));