Class
TileLayoutState

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:

cs-api-definition
public class TileLayoutState

Inheritance: objectTileLayoutState

Constructors

TileLayoutState()

Declaration

cs-api-definition
public TileLayoutState()

Properties

ItemStates

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

Declaration

cs-api-definition
public IList<TileLayoutItemState> ItemStates { get; set; }

Property Value

IList<TileLayoutItemState>