ExpansionPanel
Example
Razor
<kendo-expansionpanel>
<animation></animation>
<content></content>
</kendo-expansionpanel>
ChildTags
| Tag Name | Details |
|---|---|
| animation | ExpansionPanelAnimationSettingsTagHelper |
| content | ExpansionPanelContentTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Sets the name of the component. |
| as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |
| is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
| deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
| collapse-icon-class | String | The name of the collapse icon. |
| disabled | Boolean | If set to true the widget will be disabled. |
| expanded | Boolean | If set to true the widget will be expanded by default. |
| expand-icon-class | String | The class of the expand icon. |
| height | Double | The height of the widget. Numeric values are treated as pixels. |
| on-collapse | String | The name of the JavaScript function that will handle the collapse event. Fired when the widget is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance. |
| on-complete | String | The name of the JavaScript function that will handle the complete event. Fired when the animation during collapse/expand is completed.The event handler function context (available via the this keyword) will be set to the widget instance. |
| on-expand | String | The name of the JavaScript function that will handle the expand event. Fired when the widget is expanded.The event handler function context (available via the this keyword) will be set to the widget instance. |
| on-kendo-keydown | String | The name of the JavaScript function that will handle the kendoKeydown event. Triggered when the user presses a keyboard key while the ExpansionPanel is focused.The event handler function context (available via the this keyword) will be set to the widget instance. |
| script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
| sub-title | String | The subtitle of the widget. |
| title | String | The title of the widget. |
| toggleable | Boolean | If set to false the user will not be able to expand/collapse the widget. |