Class
TileLayoutItem

The class for TileLayout items.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TileLayoutItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseTileLayoutItem

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

TileLayoutItem()

Declaration

cs-api-definition
public TileLayoutItem()

Properties

Class

The CSS class that will be rendered on the tile's wrapping element.

Declaration

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

Property Value

string

ColSpan

The number of columns a tile will span over.

Declaration

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

Property Value

int

Content

The content of the item. Can take components.

Declaration

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

Property Value

RenderFragment

HeaderTemplate

The content that will be rendered in the item header. Can take components.

Declaration

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

Property Value

RenderFragment

HeaderText

Defines the tile header content as plain text. For rich text, use a nested HeaderTemplate tag.

Declaration

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

Property Value

string

Id

Specifies the Id of the TileLayoutItem. The identifier is used in OnReorder event and OnResize event.

Declaration

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

Property Value

string

RowSpan

The number of rows a tile will span over.

Declaration

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

Property Value

int

Visible

If value is set to "false" the item is invisible. The default value is true.

Declaration

cs-api-definition
[Parameter]
public bool Visible { get; set; }

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

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

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnAfterRender(bool)

Declaration

cs-api-definition
protected override void OnAfterRender(bool firstRender)

Parameters

firstRender

bool

Overrides ComponentBase.OnAfterRender(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)