New to Telerik UI for BlazorStart a free 30-day trial

Definition

Namespace:Telerik.Blazor.Components.Common

Assembly:Telerik.Blazor.dll

Syntax:

C#
public abstract class AnimationBase : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentAnimationBase

Derived Classes: TelerikAnimationContainer

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()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.InvokeVoidAsyncWithoutAwait(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.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)...

Constructors

C#
protected AnimationBase()

Properties

Defines the animation duration of the container. Default AnimationDuration is 300ms.

C#
[Parameter]
public int AnimationDuration { get; set; }

Defines the animation type of the container. Default value is AnimationType.SlideDown.

C#
[Parameter]
public AnimationType AnimationType { get; set; }
C#
[Parameter]
public RenderFragment? ChildContent { get; set; }

Defines the height of the animation container. Cannot be in percent.

C#
[Parameter]
public string? Height { get; set; }

Defines the hide delay of the animation container. Default delay is 20ms.

C#
[Parameter]
public int HideDelay { get; set; }

Defines the left position of the animation container.

C#
[Parameter]
public string? Left { get; set; }

Defines class to be added to the k-animation-container element.

C#
[Parameter]
public string ParentClass { get; set; }

Defines inline style to be added to the k-animation-container element.

C#
[Parameter]
public string ParentInlineStyle { get; set; }

Defines the show delay of the animation container. Default delay is 20ms.

C#
[Parameter]
public int ShowDelay { get; set; }

Defines the top position of the animation container.

C#
[Parameter]
public string? Top { get; set; }

Defines the width of the animation container.

C#
[Parameter]
public string? Width { get; set; }