IToolTipProvider.ShowToolTip IToolTipProvider.ShowToolTip IToolTipProvider.ShowToolTip Method

Definition

Overloads

ShowToolTip(ITrackingSpan, Object) ShowToolTip(ITrackingSpan, Object) ShowToolTip(ITrackingSpan, Object)

Creates and displays a tooltip.

ShowToolTip(ITrackingSpan, Object, PopupStyles) ShowToolTip(ITrackingSpan, Object, PopupStyles) ShowToolTip(ITrackingSpan, Object, PopupStyles)

Creates and displays a tooltip.

ShowToolTip(ITrackingSpan, Object) ShowToolTip(ITrackingSpan, Object) ShowToolTip(ITrackingSpan, Object)

Creates and displays a tooltip.

public void ShowToolTip (Microsoft.VisualStudio.Text.ITrackingSpan span, object toolTipContent);
abstract member ShowToolTip : Microsoft.VisualStudio.Text.ITrackingSpan * obj -> unit
Public Sub ShowToolTip (span As ITrackingSpan, toolTipContent As Object)
Parameters
span
ITrackingSpan ITrackingSpan ITrackingSpan

The range of text for which the tooltip is relevant.

toolTipContent
Object Object Object

The content to be displayed in the tooltip. This must be a string or UIElement for the WPF tooltip adornment surface.

Remarks

This is equivalent to ShowToolTip with None.

ShowToolTip(ITrackingSpan, Object, PopupStyles) ShowToolTip(ITrackingSpan, Object, PopupStyles) ShowToolTip(ITrackingSpan, Object, PopupStyles)

Creates and displays a tooltip.

public void ShowToolTip (Microsoft.VisualStudio.Text.ITrackingSpan span, object toolTipContent, Microsoft.VisualStudio.Text.Adornments.PopupStyles style);
abstract member ShowToolTip : Microsoft.VisualStudio.Text.ITrackingSpan * obj * Microsoft.VisualStudio.Text.Adornments.PopupStyles -> unit
Public Sub ShowToolTip (span As ITrackingSpan, toolTipContent As Object, style As PopupStyles)
Parameters
span
ITrackingSpan ITrackingSpan ITrackingSpan

The range of text for which the tooltip is relevant.

toolTipContent
Object Object Object

The content to be displayed in the tooltip. This must be a string or UIElement to be used by the WPF tooltip adornment surface.

Applies to