GH_LayoutItem

References
Represents an item on a ribbon layout.

Constructors

GH_LayoutItem

#
public GH_LayoutItem()

GH_LayoutItem

#
public GH_LayoutItem(
GH_LayoutItem
other
)

GH_LayoutItem

#
public GH_LayoutItem(
objectId,
exposure
)

Properties

Exposure

#
Gets the exposure (Panel segment) of this custom item.
public GH_Exposure Exposure { get; set; }

Id

#
Gets the ComponentID of the associated object.
public Guid Id { get; }

Selected

#
Gets or sets the selected state of this item. This property is only used inside Layout Editors.
public bool Selected { get; set; }

Methods

Read

#
public bool Read(
reader
)
Read

Write

#
public bool Write(
writer
)
Write