Class
GridLayoutItem

A component that lets you place content in a Telerik.Blazor.Components.GridLayout cell with optional row/column positioning and spanning. Supports Row/Column to set start positions, RowSpan/ColumnSpan to span multiple tracks, custom Class, and ChildContent for the item body.

Definition

Constructors

GridLayoutItem()

Declaration

cs-api-definition
public GridLayoutItem()

Properties

ChildContent

Defines the content of the grid item.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Class

Defines the class of the grid layout item.

Declaration

cs-api-definition
[Parameter]
public string Class { get; set; }

Property Value

string

Column

Defines the column number position of the item in the grid.

Declaration

cs-api-definition
[Parameter]
public int? Column { get; set; }

Property Value

int?

ColumnSpan

Defines the column index of the grid.

Declaration

cs-api-definition
[Parameter]
public int? ColumnSpan { get; set; }

Property Value

int?

Row

Defines the row number position of the item in the grid.

Declaration

cs-api-definition
[Parameter]
public int? Row { get; set; }

Property Value

int?

RowSpan

Defines the row span of the item.

Declaration

cs-api-definition
[Parameter]
public int? RowSpan { get; set; }

Property Value

int?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)