IToolTipProvider::ShowToolTip Method (ITrackingSpan^, Object^, PopupStyles)

 

Creates and displays a tooltip.

Namespace:   Microsoft.VisualStudio.Text.Adornments
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

void ShowToolTip(
	ITrackingSpan^ span,
	Object^ toolTipContent,
	PopupStyles style
)

Parameters

span
Type: Microsoft.VisualStudio.Text::ITrackingSpan^

The range of text for which the tooltip is relevant.

toolTipContent
Type: System::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.

style
Type: Microsoft.VisualStudio.Text.Adornments::PopupStyles

PopupStyles for the tooltip.

Return to top
Show: