Skip to main content
All docs
V25.1
  • TreeListPersistentLayoutCollection<T> Class

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

    Inheritance

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