Class TelerikTabStrip
The class for the Telerik Tab Strip component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikTabStrip : BaseComponent, IDisposable, ITabContainer
Constructors
TelerikTabStrip()
Declaration
public TelerikTabStrip()
Properties
ActiveTabIndex
The currently active tab's index. If not set, the first tab will be active.
Declaration
public int ActiveTabIndex { get; set; }
Property Value
System.Int32
|
ActiveTabIndexChanged
Fires when the active tab has changed.
Declaration
public EventCallback<int> ActiveTabIndexChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Int32>
|
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Height
Defines the height of the component as a CSS value.
Declaration
public string Height { get; set; }
Property Value
System.String
|
PersistTabContent
Defines whether the content of tabs is persisted when changing tabs.
Default value is false
.
Declaration
public bool PersistTabContent { get; set; }
Property Value
System.Boolean
|
Scrollable
Defines if the tabs are scrollable when they overflow the available space.
Default value is false
.
Declaration
public bool Scrollable { get; set; }
Property Value
System.Boolean
|
TabAlignment
Specifies the alignment type of the tabs. Default value is Start.
Declaration
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
public TabPosition TabPosition { get; set; }
Property Value
TabPosition
|
Width
Defines the width of the component as a CSS value.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
Refresh()
Refreshes the content of the TabStrip.
Declaration
public void Refresh()
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|