Condividi tramite


IToolTipService.CreatePresenter(ITextView, ToolTipParameters) Method

Definition

Creates a new non-visible ToolTip presenter.

public Microsoft.VisualStudio.Text.Adornments.IToolTipPresenter CreatePresenter (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.Adornments.ToolTipParameters parameters = default);
abstract member CreatePresenter : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.Adornments.ToolTipParameters -> Microsoft.VisualStudio.Text.Adornments.IToolTipPresenter
Public Function CreatePresenter (textView As ITextView, Optional parameters As ToolTipParameters = Nothing) As IToolTipPresenter

Parameters

textView
ITextView

The view that owns the tooltip.

parameters
ToolTipParameters

Parameters to create the tooltip with. Default is mouse tracking.

Returns

A new non-visible IToolTipPresenter.

Applies to