Back to Devexpress

TreeListPersistentLayoutCollection<T> Class

blazor-devexpress-dot-blazor-dot-treelistpersistentlayoutcollection-1.md

latest2.7 KB
Original Source

TreeListPersistentLayoutCollection<T> Class

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class TreeListPersistentLayoutCollection<T> :
    GridPersistentLayoutCollectionBase<T>
    where T : IEquatable<T>

Type Parameters

NameDescription
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 expanded 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.

Implements

IReadOnlyList<T>

IReadOnlyCollection<T>

IEnumerable<T>

IEnumerable

IEquatable<IReadOnlyList<T>>

Inheritance

Object DevExpress.Blazor.Grid.Internal.GridPersistentLayoutCollectionBase<T> TreeListPersistentLayoutCollection<T>

See Also

TreeListPersistentLayoutCollection<T> Members

DevExpress.Blazor Namespace