Compartilhar via


IToolTipPresenterFactory Interface

Definition

Proffers a platform-specific IToolTipPresenter to the IDE.

public interface class IToolTipPresenterFactory
public interface IToolTipPresenterFactory
type IToolTipPresenterFactory = interface
Public Interface 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