97 references to ToolTipService
PresentationFramework (86)
System\Windows\Controls\ComboBox.cs (2)
40ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 301comboBox.CoerceValue(ToolTipService.IsEnabledProperty);
System\Windows\Controls\MenuItem.cs (2)
171ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 711menuItem.CoerceValue(ToolTipService.IsEnabledProperty);
System\Windows\Controls\PopupControlService.cs (27)
141DependencyObject owner = FindToolTipOwner(directlyOver, ToolTipService.TriggerAction.Mouse); 143BeginShowToolTip(owner, ToolTipService.TriggerAction.Mouse); 154PromotePendingToolTipToCurrent(ToolTipService.TriggerAction.Mouse); 176DependencyObject owner = FindToolTipOwner(focusedElement, ToolTipService.TriggerAction.KeyboardFocus); 178BeginShowToolTip(owner, ToolTipService.TriggerAction.KeyboardFocus); 265DependencyObject owner = FindToolTipOwner(Keyboard.FocusedElement, ToolTipService.TriggerAction.KeyboardShortcut); 284BeginShowToolTip(owner, ToolTipService.TriggerAction.KeyboardShortcut); 298private void BeginShowToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 300if (triggerAction == ToolTipService.TriggerAction.Mouse) 332case ToolTipService.TriggerAction.Mouse: 354case ToolTipService.TriggerAction.KeyboardFocus: 358case ToolTipService.TriggerAction.KeyboardShortcut: 370if (ToolTipService.GetBetweenShowDelay(currentOwner) == 0) 379int showDelay = (showNow ? 0 : useShortDelay ? ShortDelay : ToolTipService.GetInitialShowDelay(o)); 396private void PromotePendingToolTipToCurrent(ToolTipService.TriggerAction triggerAction) 404ShowToolTip(o, ToolTipService.IsFromKeyboard(triggerAction)); 435object tooltip = ToolTipService.GetToolTip(o); 449Path = new PropertyPath(ToolTipService.ToolTipProperty), 482Interval = TimeSpan.FromMilliseconds(ToolTipService.GetShowDuration(o)) 607int betweenShowDelay = ToolTipService.GetBetweenShowDelay(owner); 651private DependencyObject FindToolTipOwner(IInputElement element, ToolTipService.TriggerAction triggerAction) 659case ToolTipService.TriggerAction.Mouse: 666case ToolTipService.TriggerAction.KeyboardFocus: 667case ToolTipService.TriggerAction.KeyboardShortcut: 670if (owner != null && !ToolTipService.ToolTipIsEnabled(owner, triggerAction)) 822private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 831_sentinelToolTip.FromKeyboard = ToolTipService.IsFromKeyboard(triggerAction);
System\Windows\Controls\ToolBar.cs (2)
59ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 266toolBar.CoerceValue(ToolTipService.IsEnabledProperty);
System\Windows\Controls\ToolTip.cs (13)
81ToolTipService.HorizontalOffsetProperty.AddOwner(typeof(ToolTip), 87return PopupControlService.CoerceProperty(d, value, ToolTipService.HorizontalOffsetProperty); 112ToolTipService.VerticalOffsetProperty.AddOwner(typeof(ToolTip), 118return PopupControlService.CoerceProperty(d, value, ToolTipService.VerticalOffsetProperty); 191ToolTipService.HasDropShadowProperty.AddOwner( 205return PopupControlService.CoerceProperty(d, value, ToolTipService.HasDropShadowProperty); 222ToolTipService.PlacementTargetProperty.AddOwner(typeof(ToolTip), 228return PopupControlService.CoerceProperty(d, value, ToolTipService.PlacementTargetProperty); 247ToolTipService.PlacementRectangleProperty.AddOwner(typeof(ToolTip), 253return PopupControlService.CoerceProperty(d, value, ToolTipService.PlacementRectangleProperty); 271ToolTipService.PlacementProperty.AddOwner(typeof(ToolTip), 277return PopupControlService.CoerceProperty(d, value, ToolTipService.PlacementProperty); 333ToolTipService.ShowsToolTipOnKeyboardFocusProperty.AddOwner(typeof(ToolTip));
System\Windows\Controls\ToolTipService.cs (24)
25typeof(ToolTipService), // Owner 63typeof(ToolTipService), // Owner 96typeof(ToolTipService), // Owner 129typeof(ToolTipService), // Owner 161typeof(ToolTipService), // Owner 193typeof(ToolTipService), // Owner 225typeof(ToolTipService), // Owner 257typeof(ToolTipService), // Owner 289typeof(ToolTipService), // Owner 326typeof(ToolTipService), // Owner 363typeof(ToolTipService), // Owner 396typeof(ToolTipService), // Owner 429typeof(ToolTipService), // Owner 462typeof(ToolTipService), // Owner 506typeof(ToolTipService)); 536typeof(ToolTipService)); 567typeof(ToolTipService)); 629internal static bool IsFromKeyboard(ToolTipService.TriggerAction triggerAction) 665RoutedEvent = ToolTipService.ToolTipOpeningEvent; 669RoutedEvent = ToolTipService.ToolTipClosingEvent; 689internal FindToolTipEventArgs(ToolTipService.TriggerAction triggerAction) 691RoutedEvent = ToolTipService.FindToolTipEvent; 701internal ToolTipService.TriggerAction TriggerAction 718private ToolTipService.TriggerAction _triggerAction;
System\Windows\FrameworkContentElement.cs (5)
1808ToolTipService.ToolTipProperty.AddOwner(typeof(FrameworkContentElement)); 1822return ToolTipService.GetToolTip(this); 1827ToolTipService.SetToolTip(this, value); 1858public static readonly RoutedEvent ToolTipOpeningEvent = ToolTipService.ToolTipOpeningEvent.AddOwner(typeof(FrameworkContentElement)); 1896public static readonly RoutedEvent ToolTipClosingEvent = ToolTipService.ToolTipClosingEvent.AddOwner(typeof(FrameworkContentElement));
System\Windows\FrameworkElement.cs (5)
5868ToolTipService.ToolTipProperty.AddOwner(_typeofThis); 5883return ToolTipService.GetToolTip(this); 5888ToolTipService.SetToolTip(this, value); 5920public static readonly RoutedEvent ToolTipOpeningEvent = ToolTipService.ToolTipOpeningEvent.AddOwner(_typeofThis); 5958public static readonly RoutedEvent ToolTipClosingEvent = ToolTipService.ToolTipClosingEvent.AddOwner(_typeofThis);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
767case 674: t = () => typeof(ToolTipService); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
8292Type type = typeof(System.Windows.Controls.ToolTipService); 8293DependencyProperty dp = System.Windows.Controls.ToolTipService.ToolTipProperty; 8295this.GetXamlType(typeof(System.Windows.Controls.ToolTipService)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11573typeof(System.Windows.Controls.ToolTipService),
System\Windows\Markup\KnownTypes.cs (1)
6221case KnownElements.ToolTipService: t = typeof(System.Windows.Controls.ToolTipService); break;
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (1)
46ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (1)
46ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
64ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (1)
43ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
61ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
58ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
57ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (1)
46ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
38ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (1)
46ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (1)
47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true));