GH_ValueListItem

References
public class GH_ValueListItem

Constructors

GH_ValueListItem

#
public GH_ValueListItem()

GH_ValueListItem

#
public GH_ValueListItem(string name, string expression)
name (string)
expression (string)

Properties

BoxLeft

#
public RectangleF BoxLeft { get; set; }
Gets or sets the bounds for the U area to the left of this item. Item bounds are used and maintained by the Attributes of the ValueList object.

BoxName

#
public RectangleF BoxName { get; set; }
Gets or sets the bounds for the name of this item. Item bounds are used and maintained by the Attributes of the ValueList object.

BoxRight

#
public RectangleF BoxRight { get; set; }
Gets or sets the bounds for the U area to the right of this item. Item bounds are used and maintained by the Attributes of the ValueList object.

Expression

#
public string Expression { get; set; }
Gets or sets the expression of this constant. If you set the expression through this property you must also expire the Value.

IsVisible

#
public bool IsVisible { get; }
Gets whether this item is visible, i.e. if the NameBox has a height larger than zero.

Name

#
public string Name { get; set; }
Gets or sets the name of this constant.

Selected

#
public bool Selected { get; set; }
Gets or sets whether this item is selected.

Value

#
[Browsable(false)] public IGH_Goo Value { get; }
Gets the (cached) result of this constant

Methods

ExpireValue

#
public void ExpireValue()
Expires the cached value. Call this method if you have reason to believe that the current value is no longer valid.