An instance of the ToolTipClass class defines tooltip attributes of a control.
Two instances of the ToolTipClass class are available. The control's ToolTip property defines attributes for all tooltips, the ScrollTip property defines attributes for scrolltips.
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
Inheritance
public class ToolTipClass : System.ComponentModel.INotifyPropertyChanged, System.IDisposable;
Public Class ToolTipClass
Implements System.ComponentModel.INotifyPropertyChanged
Implements System.IDisposableThis class cannot be instantiated.
![]() | HaveToolTip | Returns whether a tooltip is currently displayed. |
![]() | Position | Defines the position of the tooltip, relative to the data it references. |
![]() | ShowAlways | Defines whether tooltips are always displayed. |
![]() | Style | Defines the style of the tooltip. |
![]() | ToolTipIcon | Defines the optional icon of the tooltip. |
![]() | ToolTipTitle | Defines the optional title of the tooltip. |
![]() | UseAnimation | Defines whether the tooltip uses an animation effect when it is being shown or hidden. |
![]() | UseFading | Defines whether the tooltip uses a fading effect when it is being shown or hidden. |
![]() | Dispose | Releases all resources used. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() | Hide | Hides the current tooltip. |
![]() ![]() | HideToolTip | Hides the current balloon-style tooltip displayed using the ToolTipClass.ShowToolTip method. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() ![]() | ShowToolTip | Displays a balloon-style tooltip. |
![]() ![]() | ToString | Returns a string that represents the current object. |
![]() | PropertyChanged | Occurs when a property of the ToolTipClass object is modified. |
Private Function CenterOf(ByVal r As Rectangle) As Point
Dim pt As Point = r.Location
pt.Offset(r.Width / 2, r.Height / 2)
Return pt
End Function
Private TimerCounter As Integer = 0
Private ToolTip As ToolTipClass
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Static Dim LastFunc As InfoTip.FPtr = Nothing
If Not LastFunc Is Nothing Then
LastFunc()
LastFunc = NothingSee Also Classes | SftTree/NET 3.0