Offers a frontend for Grasshopper Material previews.

Properties

Colour

#
public Color Colour { get; set; }
Gets or sets the colour of this preview.

Selected

#
public bool Selected { get; set; }
Gets or sets the Selected state of this preview. Selected previews have thick borders drawn around them.

SelectOnClick

#
public bool SelectOnClick { get; set; }
Gets or sets whether this control can be selected.

Methods

Dispose

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

Events

ColourChanged

#
public event GH_MaterialPreviewControl.ColourChangedEventHandler ColourChanged

MaterialImagePostPaint

#

SelectedChanged

#
public event GH_MaterialPreviewControl.SelectedChangedEventHandler SelectedChanged