# ExpansionPanelAnimationSettingsBuilder

## Methods

### Collapse(System.Action)

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

#### Parameters

##### configurator - System.Action<[ExpansionPanelAnimationCollapseSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/expansionpanelanimationcollapsesettingsbuilder)>

The configurator for the collapse setting.

#### RETURNS

Returns the current instance of [ExpansionPanelAnimationSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/expansionpanelanimationsettingsbuilder) .

### Expand(System.Action)

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

#### Parameters

##### configurator - System.Action<[ExpansionPanelAnimationExpandSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/expansionpanelanimationexpandsettingsbuilder)>

The configurator for the expand setting.

#### RETURNS

Returns the current instance of [ExpansionPanelAnimationSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/expansionpanelanimationsettingsbuilder) .
