Back to Devexpress

LayoutControl.AddItem Method

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrol-dot-additem.md

latest2.3 KB
Original Source

LayoutControl.AddItem Method

NameParametersDescription
AddItem()noneCreates a new layout item with the default layout type and adds it to the root group.
AddItem(BaseLayoutItem, BaseLayoutItem, InsertType)newItem, baseItem, insertTypeInserts the specified layout item at a position relative to an item within the root group.
AddItem(BaseLayoutItem, InsertType)baseItem, insertTypeCreates a new layout item at a position relative to another item within the root group.
AddItem(BaseLayoutItem)newItemInserts the specified layout item to the root group.
AddItem(String, Control, BaseLayoutItem, BaseLayoutItem, InsertType)text, control, newItem, baseItem, insertTypeObsolete. 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, insertTypeCreates 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, controlCreates a new layout item with the specified text and control, and adds it to the root group.
AddItem(String)textCreates a new layout item with the specified text and adds it to the root group.