1 type derived from ToolTip
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
27public class RibbonToolTip : ToolTip
9 instantiations of ToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
QuickInfo\ContentControlService.cs (2)
58var toolTip = new ToolTip 81var toolTip = new ToolTip
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
102ToolTip = new ToolTip { Content = viewModel.ToolTipTextBlock, Style = (Style)FindResource(ToolTipStyleKey) };
PresentationFramework (6)
System\Windows\Controls\PopupControlService.cs (2)
444_currentToolTip = new ToolTip(); 828_sentinelToolTip = new ToolTip();
System\Windows\Controls\Slider.cs (2)
821_autoToolTip = new ToolTip 857_autoToolTip = new ToolTip();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11558DefaultConstructor = delegate () { return new System.Windows.Controls.ToolTip(); },
System\Windows\Markup\KnownTypes.cs (1)
1608case KnownElements.ToolTip: o = new System.Windows.Controls.ToolTip(); break;
71 references to ToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
QuickInfo\ContentControlService.cs (2)
58var toolTip = new ToolTip 81var toolTip = new ToolTip
QuickInfo\DisposableToolTip.cs (2)
16public readonly ToolTip ToolTip; 19public DisposableToolTip(ToolTip toolTip, PreviewWorkspace workspaceOpt)
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
65Resources.Add(ToolTipStyleKey, new Style(typeof(ToolTip))
PresentationFramework (66)
System\Windows\Automation\Peers\ToolTipAutomationPeer.cs (1)
13public ToolTipAutomationPeer(ToolTip owner) : base(owner)
System\Windows\Controls\PopupControlService.cs (31)
330ToolTip toReplace = CurrentToolTip; 437ToolTip tip = tooltip as ToolTip; 454_currentToolTip.SetBinding(ToolTip.ContentProperty, binding); 499ToolTip currentToolTip = _currentToolTip; 561ToolTip currentToolTip = _currentToolTip; 567private void CloseToolTip(ToolTip tooltip) 631private void ClearServiceProperties(ToolTip tooltip) 647BindingOperations.ClearBinding(tooltip, ToolTip.ContentProperty); 729ToolTip toolTip = (ToolTip)sender; 738ToolTip toolTip = (ToolTip)sender; 768ToolTip toolTip = (ToolTip)_forceCloseTimer.Tag; 780private ToolTip PendingToolTip 792internal ToolTip CurrentToolTip 815private DependencyObject GetOwner(ToolTip t) 823private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 838private void SetSafeArea(ToolTip tooltip) 1254else if (o is ToolTip) 1256o.CoerceValue(ToolTip.HorizontalOffsetProperty); 1257o.CoerceValue(ToolTip.VerticalOffsetProperty); 1258o.CoerceValue(ToolTip.PlacementTargetProperty); 1259o.CoerceValue(ToolTip.PlacementRectangleProperty); 1260o.CoerceValue(ToolTip.PlacementProperty); 1261o.CoerceValue(ToolTip.HasDropShadowProperty); 1278else if (dp == ToolTip.PlacementTargetProperty || dp == ContextMenu.PlacementTargetProperty) 1739private ToolTip _pendingToolTip; 1741private ToolTip _sentinelToolTip; 1744private ToolTip _currentToolTip;
System\Windows\Controls\Primitives\Popup.cs (2)
885Debug.Assert(!bindTreatMousePlacementAsBottomProperty || child is ToolTip, "child must be a Tooltip to bind TreatMousePlacementAsBottomProperty"); 2685|| (this.Child is ToolTip)
System\Windows\Controls\Slider.cs (1)
1438private ToolTip _autoToolTip = null;
System\Windows\Controls\ToolTip.cs (23)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 26_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToolTip)); 27BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 28FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 57typeof(ToolTip), 82ToolTipService.HorizontalOffsetProperty.AddOwner(typeof(ToolTip), 113ToolTipService.VerticalOffsetProperty.AddOwner(typeof(ToolTip), 147typeof(ToolTip), 155ToolTip t = (ToolTip) d; 193typeof(ToolTip), 199ToolTip tt = (ToolTip)d; 223ToolTipService.PlacementTargetProperty.AddOwner(typeof(ToolTip), 248ToolTipService.PlacementRectangleProperty.AddOwner(typeof(ToolTip), 272ToolTipService.PlacementProperty.AddOwner(typeof(ToolTip), 297Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(ToolTip)); 316Popup.StaysOpenProperty.AddOwner(typeof(ToolTip)); 334ToolTipService.ShowsToolTipOnKeyboardFocusProperty.AddOwner(typeof(ToolTip)); 354EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 385EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 488newContent is ToolTip)
System\Windows\Controls\ToolTipService.cs (2)
610ToolTip tooltip = tooltipObject as ToolTip;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
767case 673: t = () => typeof(ToolTip); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6436Type type = typeof(System.Windows.Controls.ToolTip); 6437DependencyProperty dp = System.Windows.Controls.ToolTip.ContentProperty; 6439this.GetXamlType(typeof(System.Windows.Controls.ToolTip)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11555typeof(System.Windows.Controls.ToolTip),
System\Windows\Markup\KnownTypes.cs (1)
6221case KnownElements.ToolTip: t = typeof(System.Windows.Controls.ToolTip); break;