GH_Tooltip

public sealed class GH_Tooltip
Implements a custom Tooltip class with advanced functionality. All methods and fields are Shared. There can never be more than one GH_Tooltip.

Properties

Tag

#
public static object Tag { get; set; }
Gets or sets the tag object for the tooltip

TooltipForm

#
public static GH_ToolTipForm TooltipForm { get; }
Gets the internal instance of GH_TooltipForm.

Methods

Adjust

#
public static void Adjust()
Repositions the tooltip to match with new cursor positions.

AssignTooltipFields

#
public static void AssignTooltipFields(string title = null, string text = null, string description = null, Image icon = null, Image diagram = null)
Set all fields of the Tooltip. You'll still need to call Show() to display the tooltip.
title (string = null)The Title text on the tooltip
text (string = null)The text content of the tooltip
description (string = null)The block text to be displayed in the sunken area of the tooltip.
icon (Image = null)The Icon to be displayed next to the Title.
diagram (Image = null)The image to be displayed in the sunken area.

Clear

#
public static void Clear()
Hides the tooltip and clears all references and caches.

IsOwner

#
public static bool IsOwner(Control test)
Returns true if the test control matches the internal Owner control. Use this method to make sure you actually own this tooltip prior to clearing it.
test (Control)

IsTag

#
public static bool IsTag(object test)
Returns True if the test object matches the internal Tag object
test (object)

Layout

#
public static void Layout()
Layout the tooltip fields. Layout happens automatically if you use the AssigTooltipField method, if however you poke values directly in the tooltip form you must place a call to Layout() before showing the tooltip.

Show

#
public static void Show(Control owner)
Display the tooltip on screen.
owner (Control)

TooltipDetailedInformation

#
public static string TooltipDetailedInformation()