Skip to main content
.NET Framework 4.5.2+

CompositeView.GetItems<T>() Method

Returns View Items of the specified type from the CompositeView.Items collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public IList<T> GetItems<T>()
    where T : class

Type Parameters



Type Description

A generic list that contains View Items of a specified type found in the CompositeView.Items collection.


Set the T generic type argument to the required View Item type, to get an array of View Items of this type found in the current Composite View’s CompositeView.Items collection. For instance, you can get all Static Images of a Composite View via this method. For this purpose, set StaticImage as a generic type argument.

The following topic shows how to use this method: How to: Access the ASPxDocumentViewer and ASPxWebDocumentViewer Controls.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetItems<T>() method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also