New to Telerik UI for BlazorStart a free 30-day trial

Represents the complete layout state of a TileLayout component including all tile IDs, position indexes, sizes, and order. Use this class with GetState() to retrieve the current layout and SetState(TileLayoutState) to apply saved or modified layouts. Enables layout persistence, save/restore functionality, and programmatic layout management.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class TileLayoutState

Inheritance: objectTileLayoutState

Constructors

C#
public TileLayoutState()

Properties

Gets or sets the collection of individual tile states that define each tile's ID, position, size, and order. Tile IDs can only be read, but not set. Each TileLayoutItemState corresponds to a TileLayoutItem in the component markup. The states are applied sequentially to tiles based on their declaration order in the markup. Modify this collection to programmatically change tile layouts before applying with SetState(TileLayoutState).

C#
public IList<TileLayoutItemState> ItemStates { get; set; }