97 references to ToolTipService
PresentationFramework (86)
System\Windows\Controls\ComboBox.cs (2)
41ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 302comboBox.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)); 397private void PromotePendingToolTipToCurrent(ToolTipService.TriggerAction triggerAction) 405ShowToolTip(o, ToolTipService.IsFromKeyboard(triggerAction)); 436object tooltip = ToolTipService.GetToolTip(o); 450Path = new PropertyPath(ToolTipService.ToolTipProperty), 483Interval = TimeSpan.FromMilliseconds(ToolTipService.GetShowDuration(o)) 608int betweenShowDelay = ToolTipService.GetBetweenShowDelay(owner); 652private DependencyObject FindToolTipOwner(IInputElement element, ToolTipService.TriggerAction triggerAction) 660case ToolTipService.TriggerAction.Mouse: 667case ToolTipService.TriggerAction.KeyboardFocus: 668case ToolTipService.TriggerAction.KeyboardShortcut: 671if (owner != null && !ToolTipService.ToolTipIsEnabled(owner, triggerAction)) 823private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 832_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); 192ToolTipService.HasDropShadowProperty.AddOwner( 206return PopupControlService.CoerceProperty(d, value, ToolTipService.HasDropShadowProperty); 223ToolTipService.PlacementTargetProperty.AddOwner(typeof(ToolTip), 229return PopupControlService.CoerceProperty(d, value, ToolTipService.PlacementTargetProperty); 248ToolTipService.PlacementRectangleProperty.AddOwner(typeof(ToolTip), 254return PopupControlService.CoerceProperty(d, value, ToolTipService.PlacementRectangleProperty); 272ToolTipService.PlacementProperty.AddOwner(typeof(ToolTip), 278return PopupControlService.CoerceProperty(d, value, ToolTipService.PlacementProperty); 334ToolTipService.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)
1809ToolTipService.ToolTipProperty.AddOwner(typeof(FrameworkContentElement)); 1823return ToolTipService.GetToolTip(this); 1828ToolTipService.SetToolTip(this, value); 1859public static readonly RoutedEvent ToolTipOpeningEvent = ToolTipService.ToolTipOpeningEvent.AddOwner(typeof(FrameworkContentElement)); 1897public static readonly RoutedEvent ToolTipClosingEvent = ToolTipService.ToolTipClosingEvent.AddOwner(typeof(FrameworkContentElement));
System\Windows\FrameworkElement.cs (5)
5869ToolTipService.ToolTipProperty.AddOwner(_typeofThis); 5884return ToolTipService.GetToolTip(this); 5889ToolTipService.SetToolTip(this, value); 5921public static readonly RoutedEvent ToolTipOpeningEvent = ToolTipService.ToolTipOpeningEvent.AddOwner(_typeofThis); 5959public 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)
8293Type type = typeof(System.Windows.Controls.ToolTipService); 8294DependencyProperty dp = System.Windows.Controls.ToolTipService.ToolTipProperty; 8296this.GetXamlType(typeof(System.Windows.Controls.ToolTipService)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11574typeof(System.Windows.Controls.ToolTipService),
System\Windows\Markup\KnownTypes.cs (1)
6222case 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));