.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CompositeView.AddItem(ViewItem) Method

Adds a specified View Item to a Composite View's CompositeView.Items collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public void AddItem(
    ViewItem item
Public Sub AddItem(
    item As ViewItem


Name Type Description
item ViewItem

A ViewItem descendant representing the View Item which is added to the current Composite View's CompositeView.Items collection.


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.

See Also