GH_PreviewSnippetButton
GH_ScriptEditorButtonProvides 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.
Highlight
Gets whether this button should have a highlight drawn regardless of mouse hover state.
HighlightOnHover
Gets whether this button should be highlighted when the mouse moves over it.
Methods
FormHandleCreated
#Parameters:
| window (GH_ScriptEditor) |
Overrides: GH_ScriptEditorButton.FormHandleCreated
FormHandleDestroyed
#Parameters:
| window (GH_ScriptEditor) |
Overrides: GH_ScriptEditorButton.FormHandleDestroyed
PopulateTooltip
#Parameters:
| sender (object) | |
| e (GH_TooltipDisplayEventArgs) |
Overrides: GH_ScriptEditorButton.PopulateTooltip
RespondToMouseDown
#Parameters:
| window (GH_ScriptEditor) | |
| e (MouseEventArgs) |
Overrides: GH_ScriptEditorButton.RespondToMouseDown