GH_LayoutItem

References
Represents an item on a ribbon layout.

Constructors

GH_LayoutItem

#
public GH_LayoutItem()

GH_LayoutItem

#
public GH_LayoutItem(GH_LayoutItem other)
other (GH_LayoutItem)

GH_LayoutItem

#
public GH_LayoutItem(Guid objectId, GH_Exposure exposure)
objectId (Guid)
exposure (GH_Exposure)

Properties

Exposure

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

Id

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

Selected

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

Methods

Read

#
public bool Read(GH_IReader reader)
reader (GH_IReader)
Read

Write

#
public bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write