Class
TelerikTabStrip

The class for the Telerik Tab Strip component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TelerikTabStrip : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikTabStrip

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

TelerikTabStrip()

Declaration

cs-api-definition
public TelerikTabStrip()

Properties

ActiveTabIndex

The currently active tab's index. If not set, the first tab will be active.

Declaration

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

Property Value

int

ActiveTabIndexChanged

Fires when the active tab has changed.

Declaration

cs-api-definition
[Parameter]
public EventCallback<int> ActiveTabIndexChanged { get; set; }

Property Value

EventCallback<int>

ChildContent

Declaration

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

Property Value

RenderFragment

Height

Defines the height of the component as a CSS value.

Declaration

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

Property Value

string

PersistTabContent

Defines whether the content of tabs is persisted when changing tabs. Default value is false.

Declaration

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

Property Value

bool

Scrollable

Defines if the tabs are scrollable when they overflow the available space. Default value is false.

Declaration

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

Property Value

bool

TabAlignment

Specifies the alignment type of the tabs. Default value is Start.

Declaration

cs-api-definition
[Parameter]
public TabStripTabAlignment TabAlignment { get; set; }

Property Value

TabStripTabAlignment

TabPosition

Defines the placement of the tab list in relation to the content. The possible positions are Top, Bottom, Left and Right.

Declaration

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

Property Value

TabPosition

Width

Defines the width of the component as a CSS value.

Declaration

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

Property Value

string

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 override void Dispose()

Overrides BaseComponent.Dispose()

OnAfterRenderAsync(bool)

Declaration

cs-api-definition
protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

Refresh()

Refreshes the content of the TabStrip.

Declaration

cs-api-definition
public void Refresh()

SetParametersAsync(ParameterView)

Declaration

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

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)