GH_TooltipComponent

ComponentMarshalByRefObject
[DefaultEvent("PopulateTooltip")] public sealed class GH_TooltipComponent : Component
This component provides Grasshopper tooltip functionality through a winforms Component.

Properties

Delay

#
[Category("Tooltip")] [Description("The delay (in milliseconds) before this tooltip shows up")] [DefaultValue(300)] public int Delay { get; set; }
Gets or sets the delay (in milliseconds) for this tooltip to appear.

Enabled

#
[Category("Tooltip")] [Description("Enables or disables the tooltip")] [DefaultValue(true)] public bool Enabled { get; set; }
Gets or sets the Enabled flag.

Tag

#
public object Tag { get; set; }
Provides an easy way to store information on this Tooltip.

Target

#
[Category("Tooltip")] [Description("the control this tooltip is tied to")] public Control Target { get; set; }
Gets or sets the control this tooltip is tied to.

Methods

Dispose

#
protected override void Dispose(bool disposing)
disposing (bool)

Hide

#
public void Hide()

IsTag

#
public bool IsTag(object object)
Test whether the current Tooltip tag matches the object.
object (object)Object to test against tag.
True if the Tag and object are the same.

Events

PopulateTooltip

#
This event is raised just prior to the tooltip display.