Class TabEvents
Provides event handlers for the SfTab component.
Inheritance
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class TabEvents : ComponentBase
Constructors
TabEvents()
Declaration
public TabEvents()
Properties
Added
Triggers after adding an TabItem to the Tabs.
Declaration
public EventCallback<AddEventArgs> Added { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<AddEventArgs> | An event callback function. |
Adding
Triggers before adding a TabItem to the Tabs.
Declaration
public EventCallback<AddEventArgs> Adding { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<AddEventArgs> | An event callback function. |
Created
Triggers after the SfTab component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Destroyed
Triggers after the SfTab component is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Dragged
Triggers when a TabItem is dropped.
Declaration
public EventCallback<DragEventArgs> Dragged { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragEventArgs> | An event callback function. |
OnDragStart
Triggers when a drag action starts on a TabItem.
Declaration
public EventCallback<DragEventArgs> OnDragStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragEventArgs> | An event callback function. |
Removed
Triggers after the TabItem is removed.
Declaration
public EventCallback<RemoveEventArgs> Removed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<RemoveEventArgs> | An event callback function. |
Removing
Triggers before removing the TabItem.
Declaration
public EventCallback<RemoveEventArgs> Removing { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<RemoveEventArgs> | An event callback function. |
Selected
Triggers after the TabItem is selected.
Declaration
public EventCallback<SelectEventArgs> Selected { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<SelectEventArgs> | An event callback function. |
Selecting
Triggers before selecting the TabItem.
Declaration
public EventCallback<SelectingEventArgs> Selecting { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<SelectingEventArgs> | An event callback function. |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |