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)
442_currentToolTip = new ToolTip(); 821_sentinelToolTip = new ToolTip();
System\Windows\Controls\Slider.cs (2)
839_autoToolTip = new ToolTip(); 873_autoToolTip = new ToolTip();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10411bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ToolTip(); };
System\Windows\Markup\KnownTypes.cs (1)
1614case 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; 435ToolTip tip = tooltip as ToolTip; 450_currentToolTip.SetBinding(ToolTip.ContentProperty, binding); 493ToolTip currentToolTip = _currentToolTip; 555ToolTip currentToolTip = _currentToolTip; 561private void CloseToolTip(ToolTip tooltip) 624private void ClearServiceProperties(ToolTip tooltip) 640BindingOperations.ClearBinding(tooltip, ToolTip.ContentProperty); 722ToolTip toolTip = (ToolTip)sender; 731ToolTip toolTip = (ToolTip)sender; 761ToolTip toolTip = (ToolTip)_forceCloseTimer.Tag; 773private ToolTip PendingToolTip 785internal ToolTip CurrentToolTip 808private DependencyObject GetOwner(ToolTip t) 816private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 831private void SetSafeArea(ToolTip tooltip) 1247else if (o is ToolTip) 1249o.CoerceValue(ToolTip.HorizontalOffsetProperty); 1250o.CoerceValue(ToolTip.VerticalOffsetProperty); 1251o.CoerceValue(ToolTip.PlacementTargetProperty); 1252o.CoerceValue(ToolTip.PlacementRectangleProperty); 1253o.CoerceValue(ToolTip.PlacementProperty); 1254o.CoerceValue(ToolTip.HasDropShadowProperty); 1271else if (dp == ToolTip.PlacementTargetProperty || dp == ContextMenu.PlacementTargetProperty) 1732private ToolTip _pendingToolTip; 1734private ToolTip _sentinelToolTip; 1737private ToolTip _currentToolTip;
System\Windows\Controls\Primitives\Popup.cs (2)
889Debug.Assert(!bindTreatMousePlacementAsBottomProperty || child is ToolTip, "child must be a Tooltip to bind TreatMousePlacementAsBottomProperty"); 2671|| (this.Child is ToolTip)
System\Windows\Controls\Slider.cs (1)
1454private 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; 194typeof(ToolTip), 200ToolTip tt = (ToolTip)d; 224ToolTipService.PlacementTargetProperty.AddOwner(typeof(ToolTip), 249ToolTipService.PlacementRectangleProperty.AddOwner(typeof(ToolTip), 273ToolTipService.PlacementProperty.AddOwner(typeof(ToolTip), 298Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(ToolTip)); 317Popup.StaysOpenProperty.AddOwner(typeof(ToolTip)); 335ToolTipService.ShowsToolTipOnKeyboardFocusProperty.AddOwner(typeof(ToolTip)); 355EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 386EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 489newContent 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)
6010Type type = typeof(System.Windows.Controls.ToolTip); 6011DependencyProperty dp = System.Windows.Controls.ToolTip.ContentProperty; 6013this.GetXamlType(typeof(System.Windows.Controls.ToolTip)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10409typeof(System.Windows.Controls.ToolTip),
System\Windows\Markup\KnownTypes.cs (1)
6227case KnownElements.ToolTip: t = typeof(System.Windows.Controls.ToolTip); break;