The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

public ViewItem AddItem(
    IModelViewItem info
)
Public Function AddItem(
    info As IModelViewItem
) As ViewItem
public ViewItem AddItem(
    IModelViewItem info
)
Public Function AddItem(
    info As IModelViewItem
) As ViewItem
public ViewItem AddItem(
    IModelViewItem info
)
Public Function AddItem(
    info As IModelViewItem
) As ViewItem

Parameters

Name Type Description
info IModelViewItem

An IModelViewItem object representing the Application Model node with the information on the new View Item.

Parameters

Name Type Description
info IModelViewItem

An IModelViewItem object representing the Application Model node with the information on the new View Item.

Parameters

Name Type Description
info IModelViewItem

An IModelViewItem object representing the Application Model node with the information on the new View Item.

Returns

Type Description
ViewItem

A ViewItem descendant representing the View Item added to the CompositeView.Items collection.

Returns

Type Description
ViewItem

A ViewItem descendant representing the View Item added to the CompositeView.Items collection.

Returns

Type Description
ViewItem

A ViewItem descendant representing the View Item added to the 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