A tile displayed inside a RadzenTileLayout. Each tile occupies a rectangular area of the grid defined by its Col, Row, ColSpan and RowSpan and can be moved and resized while the parent layout is in edit mode.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.SetParametersAsync
RadzenComponent.OnAfterRenderAsync
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.DefaultUICulture
RadzenComponent.IsJSRuntimeAvailable
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenTileLayoutItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender<RadzenTileLayout Columns="12" EditMode="true">
<RadzenTileLayoutItem Title="Sales" Icon="paid" Col="1" Row="1" ColSpan="4" RowSpan="2">
Content
</RadzenTileLayoutItem>
</RadzenTileLayout>A tile displayed inside a RadzenTileLayout. Each tile occupies a rectangular area of the grid defined by its Col, Row, ColSpan and RowSpan and can be moved and resized while the parent layout is in edit mode.
public RadzenTileLayoutItem()Gets or sets the body content of the tile.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the body content of the tile. |
Gets or sets the one-based column the tile starts at.
public int Col { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets the one-based column the tile starts at. |
Gets or sets the callback raised when Col changes. Enables @bind-Col.
public EventCallback<int> ColChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<int> | Gets or sets the callback raised when Col changes. Enables @bind-Col. |
Gets or sets how many columns the tile spans.
public int ColSpan { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets how many columns the tile spans. |
Gets or sets the callback raised when ColSpan changes. Enables @bind-ColSpan.
public EventCallback<int> ColSpanChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<int> | Gets or sets the callback raised when ColSpan changes. Enables @bind-ColSpan. |
Gets or sets a custom header template. When set it replaces the default header built from Title and Icon.
public RenderFragment HeaderTemplate { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets a custom header template. When set it replaces the default header built from Title and Icon. |
Gets or sets the name of the icon displayed before the Title in the default header.
public string Icon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the name of the icon displayed before the Title in the default header. |
Gets or sets the parent layout.
public RadzenTileLayout Layout { get; set; }
| Type | Description |
|---|---|
| RadzenTileLayout | Gets or sets the parent layout. |
Gets or sets the one-based row the tile starts at.
public int Row { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets the one-based row the tile starts at. |
Gets or sets the callback raised when Row changes. Enables @bind-Row.
public EventCallback<int> RowChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<int> | Gets or sets the callback raised when Row changes. Enables @bind-Row. |
Gets or sets how many rows the tile spans.
public int RowSpan { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets how many rows the tile spans. |
Gets or sets the callback raised when RowSpan changes. Enables @bind-RowSpan.
public EventCallback<int> RowSpanChanged { get; set; }
| Type | Description |
|---|---|
| EventCallback<int> | Gets or sets the callback raised when RowSpan changes. Enables @bind-RowSpan. |
Gets or sets the tile title displayed in the default header.
public string Title { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the tile title displayed in the default header. |