Class
TileLayoutItemState

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:

cs-api-definition
public class TileLayoutItemState

Inheritance: objectTileLayoutItemState

Constructors

TileLayoutItemState()

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public int ColSpan { get; set; }

Property Value

int

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.

Declaration

cs-api-definition
public string Id { get; }

Property Value

string

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.

Declaration

cs-api-definition
public int Order { get; set; }

Property Value

int

RowSpan

Gets or sets how many rows the tile spans vertically in the CSS grid of the TileLayout. Use 1 for single-row height, 2 for double-height tiles, 3 for triple-height tiles, etc. Corresponds to the RowSpan parameter of the associated tile.

Declaration

cs-api-definition
public int RowSpan { get; set; }

Property Value

int