Occurs when a tooltip is about to be displayed.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public event ShowToolTipEventHandler ShowToolTip;
Public Event ShowToolTip As ShowToolTipEventHandlerOccurs when a tooltip is about to be displayed.
The event handler can modify fields in the ToolTipEventArgs object to control the appearance and contents of the tooltip.
Private Sub SftTree1_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTree1.SelectionChanged DumpValues("SelectionChanged", e) End Sub Private Sub SftTree1_ShowScrollTip(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.ToolTipEventArgs) Handles SftTree1.ShowScrollTip DumpValues("ShowScrollTip", e) End Sub Private Sub SftTree1_ShowToolTip(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.ToolTipEventArgs) Handles SftTree1.ShowToolTip DumpValues("ShowToolTip", e) If e.Usage = UsageLocationEnum.items And Not e.Cell Is Nothing And e.Cell.OwningItem.VisibleIndex = 2 And e.Cell.ColumnIndex = 3 Then e.ToolTipIcon = ToolTipIcon.Info e.ToolTipTitle = "Balloon Tooltip" e.ToolTipStyle = Softelvdm.Controls.ToolTipAppearanceEnum.Balloon e.ToolTipText = "A simple explanatory tooltip" + vbCrLf + "for just this cell"
See Also SftTree Class | Classes | SftTree/NET 3.0