Skip to main content
.NET Standard 2.0+

CompositeView.GetItems<T>() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


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.

See Also