Skip to main content
.NET Framework 4.6.2+

CompositeView.GetItems<T>() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

Type Parameters

Name
T

Returns

Type Description
IList<T>

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

Remarks

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 snippet (auto-collected from DevExpress Examples) contains a reference to the GetItems<T>() method.

Note

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