CompositeView.AddItem(IModelViewItem) Method
Creates a View Item using specified information on it, and adds it to a Composite View’s CompositeView.Items collection.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public ViewItem AddItem(
IModelViewItem info
)
#Parameters
Name | Type | Description |
---|---|---|
info | IModel |
An IModel |
#Returns
Type | Description |
---|---|
View |
A View |
#Remarks
Adding a View Item to the CompositeView.Items collection raises the CompositeView.ItemsChanged event.
Generally, you do not need to use this method. Instead, add View Items via the Application Model. For this purpose, use the Application | Views | DetailView | Items node.