IToolTipPresenterFactory Interface

Definition

Proffers a platform-specific IToolTipPresenter to the IDE.

C++
public interface class IToolTipPresenterFactory

Examples

[Export(typeof(IToolTipPresenterFactory))]
[Name(nameof("super cool tooltip factory"))]
[Order(Before = "default")]

Remarks

This class will always be constructed and called purely from the UI thread. Extenders can construct their own presenter and supersede the default one via MEF ordering. Presenter providers should return a new ToolTip each time they are called and should support multiple simultaneous open tips.

Methods

Create(ITextView, ToolTipParameters)

Constructs a new instance of IToolTipPresenter for the current platform.

Applies to

Produkt Verzie
Visual Studio SDK 2017, 2019, 2022