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