7 instantiations of ToolTip
PresentationFramework (5)
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
499_currentToolTip = new ToolTip();
src\Framework\System\Windows\Controls\Slider.cs (2)
853_autoToolTip = new ToolTip(); 888_autoToolTip = new ToolTip();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10409bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ToolTip(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1615case KnownElements.ToolTip: o = new System.Windows.Controls.ToolTip(); break;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
948ToolTip toolTip = new ToolTip();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1519var errorTip = new ToolTip()
73 references to ToolTip
PresentationFramework (70)
src\Framework\System\Windows\Automation\Peers\ToolTipAutomationPeer.cs (1)
14public ToolTipAutomationPeer(ToolTip owner) : base(owner)
src\Framework\System\Windows\Controls\PopupControlService.cs (30)
162InspectElementForToolTip(directlyOver as DependencyObject, ToolTip.ToolTipTrigger.Mouse); 172InspectElementForToolTip(focusedElement as DependencyObject, ToolTip.ToolTipTrigger.KeyboardFocus); 244result = InspectElementForToolTip(focusedElement as DependencyObject, ToolTip.ToolTipTrigger.KeyboardShortcut); 284private bool InspectElementForToolTip(DependencyObject o, ToolTip.ToolTipTrigger triggerAction) 290bool fromKeyboard = triggerAction == ToolTip.ToolTipTrigger.KeyboardFocus || 291triggerAction == ToolTip.ToolTipTrigger.KeyboardShortcut; 340else if (LastMouseOverWithToolTip == null || triggerAction != ToolTip.ToolTipTrigger.KeyboardFocus) 346if (triggerAction == ToolTip.ToolTipTrigger.Mouse) 374private bool LocateNearestToolTip(ref DependencyObject o, ToolTip.ToolTipTrigger triggerAction, ref bool showToolTip) 491ToolTip tip = tooltip as ToolTip; 508_currentToolTip.SetBinding(ToolTip.ContentProperty, binding); 605BindingOperations.ClearBinding(_currentToolTip, ToolTip.ContentProperty); 619ToolTip toolTip = (ToolTip)sender; 627ToolTip toolTip = (ToolTip)sender; 635BindingOperations.ClearBinding(toolTip, ToolTip.ContentProperty); 643ToolTip toolTip = (ToolTip)_forceCloseTimer.Tag; 1065internal ToolTip CurrentToolTip 1158else if (o is ToolTip) 1160o.CoerceValue(ToolTip.HorizontalOffsetProperty); 1161o.CoerceValue(ToolTip.VerticalOffsetProperty); 1162o.CoerceValue(ToolTip.PlacementTargetProperty); 1163o.CoerceValue(ToolTip.PlacementRectangleProperty); 1164o.CoerceValue(ToolTip.PlacementProperty); 1165o.CoerceValue(ToolTip.HasDropShadowProperty); 1182else if (dp == ToolTip.PlacementTargetProperty || dp == ContextMenu.PlacementTargetProperty) 1213private ToolTip _currentToolTip;
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
900Debug.Assert(!bindTreatMousePlacementAsBottomProperty || child is ToolTip, "child must be a Tooltip to bind TreatMousePlacementAsBottomProperty"); 2686|| (this.Child is ToolTip)
src\Framework\System\Windows\Controls\Slider.cs (1)
1385private ToolTip _autoToolTip = null;
src\Framework\System\Windows\Controls\ToolTip.cs (22)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 40_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToolTip)); 41BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 42FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 72typeof(ToolTip), 105ToolTipService.HorizontalOffsetProperty.AddOwner(typeof(ToolTip), 136ToolTipService.VerticalOffsetProperty.AddOwner(typeof(ToolTip), 170typeof(ToolTip), 178ToolTip t = (ToolTip) d; 217typeof(ToolTip), 223ToolTip tt = (ToolTip)d; 247ToolTipService.PlacementTargetProperty.AddOwner(typeof(ToolTip), 272ToolTipService.PlacementRectangleProperty.AddOwner(typeof(ToolTip), 296ToolTipService.PlacementProperty.AddOwner(typeof(ToolTip), 321Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(ToolTip)); 340Popup.StaysOpenProperty.AddOwner(typeof(ToolTip)); 360EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 391EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 494newContent is ToolTip)
src\Framework\System\Windows\Controls\ToolTipService.cs (8)
636if (e.TriggerAction != ToolTip.ToolTipTrigger.KeyboardShortcut && PopupControlService.Current.StopLookingForToolTip(o)) 655private static bool ToolTipIsEnabled(DependencyObject o, ToolTip.ToolTipTrigger triggerAction) 663ToolTip tooltip = tooltipObject as ToolTip; 667&& (triggerAction != ToolTip.ToolTipTrigger.KeyboardFocus || enableOnKeyboardFocus)) 721internal FindToolTipEventArgs(ToolTip.ToolTipTrigger triggerAction) 739internal ToolTip.ToolTipTrigger TriggerAction 757private ToolTip.ToolTipTrigger _triggerAction;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
765case 673: t = () => typeof(ToolTip); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5970Type type = typeof(System.Windows.Controls.ToolTip); 5971DependencyProperty dp = System.Windows.Controls.ToolTip.ContentProperty; 5973this.GetXamlType(typeof(System.Windows.Controls.ToolTip)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10407typeof(System.Windows.Controls.ToolTip),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6217case KnownElements.ToolTip: t = typeof(System.Windows.Controls.ToolTip); break;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
948ToolTip toolTip = new ToolTip();
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
1519var errorTip = new ToolTip() 1529row.Dispatcher.BeginInvoke(new Action<ToolTip, DataGridRow>((tip, r) =>