Class TabAnimationSettings
A class that represents the animations to appear while activating the TabItem.
Inheritance
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class TabAnimationSettings : OwningComponentBase
Remarks
TabAnimationPrevious and TabAnimationNext can be used to set previous and next animation for tab item respectively.
Examples
<SfTab>
<TabAnimationSettings>
<TabAnimationPrevious Effect="AnimationEffect.FadeIn" Duration="500"></TabAnimationPrevious>
<TabAnimationNext Effect="AnimationEffect.FadeOut" Duration="500"></TabAnimationNext>
</TabAnimationSettings>
</SfTab>
Constructors
TabAnimationSettings()
Declaration
public TabAnimationSettings()
Properties
ChildContent
Gets or sets the Child Content for Tab Animation Settings.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Next
Gets or sets the animation to appear while moving to the next tab content.
Declaration
public TabAnimationNext Next { get; set; }
Property Value
Type | Description |
---|---|
TabAnimationNext | If we set the next animation, then the provided TabAnimationNext value is applied for next action, otherwise the default |
Previous
Gets or sets the animation to appear while moving to the previous tab content.
Declaration
public TabAnimationPrevious Previous { get; set; }
Property Value
Type | Description |
---|---|
TabAnimationPrevious | If we set the previous animation, then the provided TabAnimationPrevious value is applied for previous action, otherwise the default |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
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. |