GridPersistentLayoutCollection<T> Class
A collection of objects that store information about DxGrid element layouts.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public class GridPersistentLayoutCollection<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 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.