GH_PreviewSnippetButton

GH_ScriptEditorButton
Provides standard implementation of VB and C# preview participation snippet insert button.

Properties

Bounds

public Rectangle Bounds { get; set; }
Gets or sets the bounds of this button. Bounds are set and read by the script window layour mechanism.
inherited fromGH_ScriptEditorButton

Highlight

public virtual bool Highlight { get; }
Gets whether this button should have a highlight drawn regardless of mouse hover state.
inherited fromGH_ScriptEditorButton

HighlightOnHover

public virtual bool HighlightOnHover { get; }
Gets whether this button should be highlighted when the mouse moves over it.
inherited fromGH_ScriptEditorButton

Icon

#
public override Bitmap Icon { get; }

Methods

FormHandleCreated

#
public override void FormHandleCreated(GH_ScriptEditor window)

FormHandleDestroyed

#
public override void FormHandleDestroyed(GH_ScriptEditor window)

PopulateTooltip

#
public override void PopulateTooltip(object sender, GH_TooltipDisplayEventArgs e)

RespondToMouseDown

#
public override void RespondToMouseDown(GH_ScriptEditor window, MouseEventArgs e)