Skip to main content
.NET Framework 4.6.2+

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

CompositeView.AddItem(ViewItem) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public void AddItem(
    ViewItem item
)

#Parameters

Name Type Description
item ViewItem

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

#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.

See Also