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