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