CompositeView.GetItems<T>() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public IList<T> GetItems<T>()
    where T : class
Public Function GetItems(Of T As Class) As IList(Of T)

Returns

Type Description
IList<T>

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

Type Parameters

Name Description
T

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.

See Also