IGH_ListItem

References
public interface IGH_ListItem
Represents a single entry in a StringList

Properties

BoundingBox

#
Rectangle BoundingBox { get; set; }
Gets or sets the BoundingBox for this item. BoundingBoxes are assigned and retrieved by the GH_StringList class only. It's just convenient to store them on List Items directly.

Methods

ComputeSize

#
Size ComputeSize(int layoutWidth)
Compute the size of this item as a function of layout dimensions.
layoutWidth (int)
The width and height as dictated by the item properties.

RenderItem

#
void RenderItem(Graphics G, Rectangle destination)
Render this item into the specified destination rectangle.
G (Graphics)Graphics objects to draw with.
destination (Rectangle)Layout rectangle for this item.