GH_SimpleListItem

References
Base implementation of IGH_StringListItem

Properties

Alignment

#
public StringAlignment Alignment { get; set; }
Gets or sets the horizontal alignment to use when drawing this item.

BoundingBox

#
public Rectangle BoundingBox { get; set; }
Gets or sets the BoundingBox for this item.
BoundingBox

Colour

#
public Color Colour { get; set; }
Gets or sets the colour to use while drawing this item.

Text

#
public string Text { get; set; }
Gets or sets the text of this item.

Methods

ComputeSize

#
public virtual Size ComputeSize(int layoutWidth)
layoutWidth (int)
ComputeSize

RenderItem

#
public virtual void RenderItem(Graphics G, Rectangle destination)
G (Graphics)
destination (Rectangle)
RenderItem