Udostępnij za pośrednictwem


TextTipData Class

Definition

Caution

Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API

Important

This API is not CLS-compliant.

This class provides a default implementation of IVsTextTipData for use in the IVsTextTipWindow for displaying tool tips.

public ref class TextTipData : Microsoft::VisualStudio::TextManager::Interop::IVsTextTipData
[Windows::Foundation::Metadata::WebHostHidden]
class TextTipData : Microsoft::VisualStudio::TextManager::Interop::IVsTextTipData
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public class TextTipData : Microsoft.VisualStudio.TextManager.Interop.IVsTextTipData
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API")]
public class TextTipData : Microsoft.VisualStudio.TextManager.Interop.IVsTextTipData
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API")]
public class TextTipData : Microsoft.VisualStudio.TextManager.Interop.IVsTextTipData
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TextTipData = class
    interface IVsTextTipData
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Obsolete("Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API")>]
type TextTipData = class
    interface IVsTextTipData
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Obsolete("Support for Quick Info is now provided via the IAsyncQuickInfoSourceProvider API")>]
type TextTipData = class
    interface IVsTextTipData
Public Class TextTipData
Implements IVsTextTipData
Inheritance
TextTipData
Attributes
Implements

Constructors

TextTipData(IServiceProvider)

This constructor sets a service provider.

Methods

CheckCaretPosition(IVsTextView)

Dismisses the tool tip based on mouse proximity to something that has a tool tip.

Close(IVsTextView)

Dismisses and releases the tool tip.

GetContextStream(Int32, Int32)

Retrieves the position and length of the tool tip.

GetTipFontInfo(Int32, UInt32[])

Returns the font of the tool tip window.

GetTipText(String[], Int32)

Populates pbstrText with the tip text.

IsActive()

Tests if the tool tip window is currently visible.

OnDismiss()

Sets the tool tip window to inactive.

Update(String, Int32, Int32, IVsTextView)

Adds the supplied data to this text tip.

UpdateView()

A virtual method that your subclass of TextTipData can implement to provide extra functionality on update.

Applies to