LayoutGroup.AddItem Method

Name Parameters Description
AddItem() none Creates a new layout item and adds it to the current group.
AddItem(BaseLayoutItem) newItem Inserts the specified item to the current group.
AddItem(BaseLayoutItem, BaseLayoutItem, InsertType) newItem, baseItem, insertType Inserts the specified item at a position relative to another item within the current group.
AddItem(BaseLayoutItem, InsertType) baseItem, insertType Creates a new layout item at a position relative to an item within the current group.
AddItem(String) text Creates a new layout item with the specified text and adds it to the current group.
AddItem(String, BaseLayoutItem, BaseLayoutItem, InsertType) text, newItem, baseItem, insertType Inserts the specified item at a position relative to another item within the current group. Allows the new text to be specified for the item.
AddItem(String, BaseLayoutItem, InsertType) text, baseItem, insertType Creates a new layout item with the specified text at a position relative to an item within the current group.