Class RadzenTabsItem
RadzenTabsItem component.
public class RadzenTabsItem : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
RadzenTabsItem
- Implements
- Inherited Members
Constructors
RadzenTabsItem()
public RadzenTabsItem()
Properties
Attributes
Gets or sets the arbitrary attributes.
[Parameter(CaptureUnmatchedValues = true)]
public IDictionary<string, object> Attributes { get; set; }
Property Value
- IDictionary<string, object>
The arbitrary attributes.
ChildContent
Gets or sets the child content.
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
- RenderFragment
The child content.
Disabled
Gets or sets a value indicating whether this RadzenTabsItem is disabled.
[Parameter]
public bool Disabled { get; set; }
Property Value
- bool
true
if disabled; otherwise,false
.
Icon
Gets or sets the icon.
[Parameter]
public string Icon { get; set; }
Property Value
- string
The icon.
IconColor
Gets or sets the icon color.
[Parameter]
public string IconColor { get; set; }
Property Value
- string
The icon color.
Index
Gets the index.
public int Index { get; }
Property Value
- int
The index.
IsSelected
Gets a value indicating whether this instance is selected.
public bool IsSelected { get; }
Property Value
- bool
true
if this instance is selected; otherwise,false
.
Selected
Gets or sets a value indicating whether this RadzenTabsItem is selected.
[Parameter]
public bool Selected { get; set; }
Property Value
- bool
true
if selected; otherwise,false
.
Style
Gets or sets the style.
[Parameter]
public string Style { get; set; }
Property Value
- string
The style.
Tabs
Gets or sets the tabs.
[CascadingParameter]
public RadzenTabs Tabs { get; set; }
Property Value
- RadzenTabs
The tabs.
Template
Gets or sets the template.
[Parameter]
public RenderFragment<RadzenTabsItem> Template { get; set; }
Property Value
- RenderFragment<RadzenTabsItem>
The template.
Text
Gets or sets the text.
[Parameter]
public string Text { get; set; }
Property Value
- string
The text.
Visible
Gets or sets a value indicating whether this RadzenTabsItem is visible.
[Parameter]
public bool Visible { get; set; }
Property Value
- bool
true
if visible; otherwise,false
.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
Dispose()
public void Dispose()
OnInitializedAsync()
On initialized as an asynchronous operation.
protected override Task OnInitializedAsync()
Returns
- Task
A Task representing the asynchronous operation.
SetParametersAsync(ParameterView)
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
ParameterView