ClassTileLayoutItemState
Represents the state of an individual tile within a TileLayout component including its ID, column span, row span, and order index. Use this class to programmatically modify tile layouts, save/restore individual tile configurations, or implement custom layout management logic through the parent TileLayoutState object.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TileLayoutItemState
Inheritance: objectTileLayoutItemState
Constructors
TileLayoutItemState()
Declaration
public TileLayoutItemState()
Properties
ColSpan
Gets or sets how many columns the tile spans horizontally in the CSS grid of the TileLayout. Use 1 for single-column width, 2 for double-width tiles, 3 for triple-width tiles, etc. Corresponds to the ColSpan parameter of the associated tile.
Id
Gets the unique identifier of the associated tile. This value comes from the Id property of the tile this state represents. Use this identifier to correlate state objects with specific tiles in event handlers and layout management operations.
Order
Gets or sets the display order position of the tile in the layout sequence. Lower values appear earlier in the layout flow, higher values appear later. When applying states through TileLayoutState, tiles are positioned according to this order value. Used internally for reordering operations and layout state management.