Skip to main content

LayoutControl.AddItem Method

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