New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the ExpansionPanelAnimationSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ExpansionPanelAnimationSettingsBuilder

Inheritance: objectExpansionPanelAnimationSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ExpansionPanelAnimationSettingsBuilder(ExpansionPanelAnimationSettings settings)
Parameters:settingsExpansionPanelAnimationSettings

The ExpansionPanelAnimationSettings

Methods

The visual animation(s) that will be used when ExpansionPanel items are closed.

C#
public ExpansionPanelAnimationSettingsBuilder Collapse(Action<ExpansionPanelAnimationCollapseSettingsBuilder> configurator)
Parameters:configuratorAction<ExpansionPanelAnimationCollapseSettingsBuilder>

The action that configures the collapse.

Returns:

ExpansionPanelAnimationSettingsBuilder

The visual animation(s) that will be used when opening items.

C#
public ExpansionPanelAnimationSettingsBuilder Expand(Action<ExpansionPanelAnimationExpandSettingsBuilder> configurator)
Parameters:configuratorAction<ExpansionPanelAnimationExpandSettingsBuilder>

The action that configures the expand.

Returns:

ExpansionPanelAnimationSettingsBuilder