Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.