Поделиться через


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)

Syntax

'Декларация
Sub ShowToolTip ( _
    span As ITrackingSpan, _
    toolTipContent As Object, _
    style As PopupStyles _
)
void ShowToolTip(
    ITrackingSpan span,
    Object toolTipContent,
    PopupStyles style
)
void ShowToolTip(
    ITrackingSpan^ span, 
    Object^ toolTipContent, 
    PopupStyles style
)
abstract ShowToolTip : 
        span:ITrackingSpan * 
        toolTipContent:Object * 
        style:PopupStyles -> unit 
function ShowToolTip(
    span : ITrackingSpan, 
    toolTipContent : Object, 
    style : PopupStyles
)

Parameters

  • 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.

.NET Framework Security

See Also

Reference

IToolTipProvider Interface

ShowToolTip Overload

Microsoft.VisualStudio.Text.Adornments Namespace