Kendo UI Animation TagHelper ItemsAnimationSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[RestrictChildren("collapse", new string[] { "expand" })]
[SuppressTagRendering]
public class ItemsAnimationSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseItemsAnimationSettingsTagHelper
Derived Classes:
Implements:
Inherited Members
Example:
The animation settings are applicable for the TreeView, PanelBar, and ChatToolbar TagHelpers. The following example demonstrates how to configure the animation settings for the PanelBar component.
csharp
@addTagHelper *, Kendo.Mvc
<kendo-panelbar name="panelbar">
<animation>
<collapse />
</animation>
</kendo-panelbar>
Child Tags
Constructors
Initializes a new instance of the ItemsAnimationSettingsTagHelper class.
C#
public ItemsAnimationSettingsTagHelper()
Properties
Methods
Adds the current TagHelper instance to its parent TagHelper.
C#
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.