1 type derived from ToolTip
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
30public 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)
452_currentToolTip = new ToolTip(); 831_sentinelToolTip = new ToolTip();
System\Windows\Controls\Slider.cs (2)
850_autoToolTip = new ToolTip(); 884_autoToolTip = new ToolTip();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10413bamlType.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)
18public ToolTipAutomationPeer(ToolTip owner) : base(owner)
System\Windows\Controls\PopupControlService.cs (31)
340ToolTip toReplace = CurrentToolTip; 445ToolTip tip = tooltip as ToolTip; 460_currentToolTip.SetBinding(ToolTip.ContentProperty, binding); 503ToolTip currentToolTip = _currentToolTip; 565ToolTip currentToolTip = _currentToolTip; 571private void CloseToolTip(ToolTip tooltip) 634private void ClearServiceProperties(ToolTip tooltip) 650BindingOperations.ClearBinding(tooltip, ToolTip.ContentProperty); 732ToolTip toolTip = (ToolTip)sender; 741ToolTip toolTip = (ToolTip)sender; 771ToolTip toolTip = (ToolTip)_forceCloseTimer.Tag; 783private ToolTip PendingToolTip 795internal ToolTip CurrentToolTip 818private DependencyObject GetOwner(ToolTip t) 826private ToolTip SentinelToolTip(DependencyObject o, ToolTipService.TriggerAction triggerAction) 841private void SetSafeArea(ToolTip tooltip) 1257else if (o is ToolTip) 1259o.CoerceValue(ToolTip.HorizontalOffsetProperty); 1260o.CoerceValue(ToolTip.VerticalOffsetProperty); 1261o.CoerceValue(ToolTip.PlacementTargetProperty); 1262o.CoerceValue(ToolTip.PlacementRectangleProperty); 1263o.CoerceValue(ToolTip.PlacementProperty); 1264o.CoerceValue(ToolTip.HasDropShadowProperty); 1281else if (dp == ToolTip.PlacementTargetProperty || dp == ContextMenu.PlacementTargetProperty) 1742private ToolTip _pendingToolTip; 1744private ToolTip _sentinelToolTip; 1747private ToolTip _currentToolTip;
System\Windows\Controls\Primitives\Popup.cs (2)
896Debug.Assert(!bindTreatMousePlacementAsBottomProperty || child is ToolTip, "child must be a Tooltip to bind TreatMousePlacementAsBottomProperty"); 2678|| (this.Child is ToolTip)
System\Windows\Controls\Slider.cs (1)
1465private ToolTip _autoToolTip = null;
System\Windows\Controls\ToolTip.cs (23)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 39_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToolTip)); 40BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 41FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 70typeof(ToolTip), 95ToolTipService.HorizontalOffsetProperty.AddOwner(typeof(ToolTip), 126ToolTipService.VerticalOffsetProperty.AddOwner(typeof(ToolTip), 160typeof(ToolTip), 168ToolTip t = (ToolTip) d; 207typeof(ToolTip), 213ToolTip tt = (ToolTip)d; 237ToolTipService.PlacementTargetProperty.AddOwner(typeof(ToolTip), 262ToolTipService.PlacementRectangleProperty.AddOwner(typeof(ToolTip), 286ToolTipService.PlacementProperty.AddOwner(typeof(ToolTip), 311Popup.CustomPopupPlacementCallbackProperty.AddOwner(typeof(ToolTip)); 330Popup.StaysOpenProperty.AddOwner(typeof(ToolTip)); 348ToolTipService.ShowsToolTipOnKeyboardFocusProperty.AddOwner(typeof(ToolTip)); 368EventManager.RegisterRoutedEvent("Opened", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 399EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ToolTip)); 502newContent is ToolTip)
System\Windows\Controls\ToolTipService.cs (2)
615ToolTip tooltip = tooltipObject as ToolTip;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
769case 673: t = () => typeof(ToolTip); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6012Type type = typeof(System.Windows.Controls.ToolTip); 6013DependencyProperty dp = System.Windows.Controls.ToolTip.ContentProperty; 6015this.GetXamlType(typeof(System.Windows.Controls.ToolTip)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10411typeof(System.Windows.Controls.ToolTip),
System\Windows\Markup\KnownTypes.cs (1)
6227case KnownElements.ToolTip: t = typeof(System.Windows.Controls.ToolTip); break;