2 instantiations of DisposableToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
QuickInfo\ContentControlService.cs (2)
73
return new
DisposableToolTip
(toolTip, workspace);
89
return new
DisposableToolTip
(toolTip, workspaceOpt: null);
13 references to DisposableToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (13)
QuickInfo\ContentControlService.cs (3)
50
public void AttachToolTipToControl(FrameworkElement element, Func<
DisposableToolTip
> createToolTip)
53
public
DisposableToolTip
CreateDisposableToolTip(Document document, ITextBuffer textBuffer, Span contentSpan, object backgroundResourceKey)
76
public
DisposableToolTip
CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey)
QuickInfo\IContentControlService.cs (6)
23
/// get <see cref="
DisposableToolTip
"/> /> from the given <paramref name="textBuffer"/>'s <paramref name="contentSpan"/>
34
DisposableToolTip
CreateDisposableToolTip(Document baseDocument, ITextBuffer textBuffer, Span contentSpan, object backgroundResourceKey);
37
/// get <see cref="
DisposableToolTip
"/> /> from the given <paramref name="textBuffer"/>
42
DisposableToolTip
CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey);
45
/// attach <see cref="
DisposableToolTip
"/> to the given <paramref name="element"/>
49
void AttachToolTipToControl(FrameworkElement element, Func<
DisposableToolTip
> createToolTip);
QuickInfo\LazyToolTip.cs (4)
24
private readonly Func<
DisposableToolTip
> _createToolTip;
28
private
DisposableToolTip
_disposableToolTip;
33
Func<
DisposableToolTip
> createToolTip)
53
public static void AttachTo(FrameworkElement element, IThreadingContext threadingContext, Func<
DisposableToolTip
> createToolTip)