Back to Devexpress

GridPersistentLayoutCollection<T> Class

blazor-devexpress-dot-blazor-dot-gridpersistentlayoutcollection-1.md

latest2.5 KB
Original Source

GridPersistentLayoutCollection<T> Class

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public class GridPersistentLayoutCollection<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 GridPersistentLayoutColumn type is used for Grid columns.

|

Remarks

The Grid allows you to save and restore the component’s layout when necessary. The saved layout object includes the current page, column sort order/direction, column position, filter values, and grouped columns (information about expanded rows in groups is not included).

A GridPersistentLayoutCollection object defines a collection of layout objects for specific Grid elements (for example, columns). Use the class’s Item[Int32] property 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> GridPersistentLayoutCollection<T>

See Also

GridPersistentLayoutCollection<T> Members

DevExpress.Blazor Namespace