GH_LayoutPanel

References
Represents a panel on a ribbon layout.

Constructors

GH_LayoutPanel

#
public GH_LayoutPanel()
Create a new blank Panel

GH_LayoutPanel

#
public GH_LayoutPanel(GH_LayoutPanel other)
Duplicate another Panel.
other (GH_LayoutPanel)Panel to duplicate

GH_LayoutPanel

#
public GH_LayoutPanel(string name)
Create a new empty Panel.
name (string)Name of panel.

Properties

Items

#
public List<GH_LayoutItem> Items { get; }
Gets the list of Items for this tab.

Name

#
public string Name { get; set; }
Gets or sets the name of this panel. Panels must have a non-zero name or they will be "unnamed".

Methods

CompareTo

#
public int CompareTo(GH_LayoutPanel other)
other (GH_LayoutPanel)

Read

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

Sort

#
public void Sort()
Sort all items in this panel based on name.

Write

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