Condividi tramite


TextToolTipService Class

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.PlatformUI.TextToolTipService

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class TextToolTipService
public static class TextToolTipService
public ref class TextToolTipService abstract sealed
[<AbstractClass>]
[<Sealed>]
type TextToolTipService =  class end
public final class TextToolTipService

The TextToolTipService type exposes the following members.

Attached Properties

  Name Description
Public attached property AutoShowToolTipWhenObscured Gets of sets the AutoShowToolTipWhenObscured attribute.
Public attached property ToolTipBounds Gets or sets the ToolTipBounds attribute.
Public attached property ToolTipText Gets or sets the ToolTipText attribute.

Top

Methods

  Name Description
Public methodStatic member GetAutoShowToolTipWhenObscured Gets the value of the AutoShowToolTipWhenObscured attribute for the specified element.
Public methodStatic member GetToolTipBounds Gets the ToolTipBounds of the specified element.
Public methodStatic member GetToolTipText Gets the ToolTipText of the specified element.
Public methodStatic member SetAutoShowToolTipWhenObscured Sets the AutoShowToolTipWhenObscured attribute to the specified value for the given element.
Public methodStatic member SetToolTipBounds Sets the ToolTipBounds attribute to the specified value for the given element.
Public methodStatic member SetToolTipOffsets Sets the ToolTipOffsets attribute to the specified values for the given element.
Public methodStatic member SetToolTipPlacement Sets the ToolTipPlacement attribute to the specified value for the given element.
Public methodStatic member SetToolTipText Sets the ToolTipText attribute to the specified value for the given element.

Top

Fields

  Name Description
Public fieldStatic member AutoShowToolTipWhenObscuredProperty Flag determining whether to automatically show the tool tip when it is obscured.
Public fieldStatic member ToolTipBoundsProperty The ToolTipBounds property.
Public fieldStatic member ToolTipTextProperty The ToolTipText property.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace