Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListPersistentLayoutCollection<T> Class

A collection of objects that store information about TreeList element layouts.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public class TreeListPersistentLayoutCollection<T> :
    GridPersistentLayoutCollectionBase<T>
    where T : IEquatable<T>

#Type Parameters

Name Description
T

The type of a layout object that corresponds to the processed element type. For example, the TreeListPersistentLayoutColumn type is used for columns.

#Remarks

The TreeList allows you to save and restore the component’s layout when necessary. You can use SaveLayout() and LoadLayout(TreeListPersistentLayout) methods for this purpose. The saved layout object includes the current page, page size, column sort order/direction, column position, and filter values. Information about row expansion states is not saved.

A TreeListPersistentLayoutCollection object defines a collection of layout objects for specific TreeList elements (for example, columns). Use the Item[Int32] array to access a collection item. To get the total number of items, use the Count property.

#Inheritance

Object
DevExpress.Blazor.Internal.GridPersistentLayoutCollectionBase<T>
TreeListPersistentLayoutCollection<T>
See Also