Kendo.Mvc.UI.Fluent.ExpansionPanelBuilder
Defines the fluent API for configuring the Kendo UI ExpansionPanel
Methods
Content(System.Action)
The HTML string representing the associated content for the widget.
Parameters
value System.Action
The value for Position
Content(System.Func<System.Object,System.Object>)
The HTML string representing the associated content for the widget.
Parameters
value System.Func<System.Object,System.Object>
The value for Position
Content(System.String)
The HTML string representing the associated content for the widget.
Parameters
value System.String
The value for Position
Animation(System.Action<Kendo.Mvc.UI.Fluent.ExpansionPanelAnimationSettingsBuilder>)
A collection of visual animations used when ExpansionPanel is expand or collapsed through user interactions. Setting this option to false will disable all animations. is not a valid configuration.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ExpansionPanelAnimationSettingsBuilder>
The configurator for the animation setting.
Animation(System.Boolean)
A collection of visual animations used when ExpansionPanel is expand or collapsed through user interactions. Setting this option to false will disable all animations. is not a valid configuration.
Parameters
enabled System.Boolean
Enables or disables the animation option.
CollapseIconClass(System.String)
The class of the collapse icon.
Parameters
value System.String
The value for CollapseIconClass
Disabled(System.Boolean)
If set to true the widget will be disabled.
Parameters
value System.Boolean
The value for Disabled
Disabled
If set to true the widget will be disabled.
Expanded(System.Boolean)
If set to true the widget will be expanded by default.
Parameters
value System.Boolean
The value for Expanded
Expanded
If set to true the widget will be expanded by default.
ExpandIconClass(System.String)
The class of the collapse icon.
Parameters
value System.String
The value for ExpandIconClass
Height(System.Double)
The height of the widget. Numeric values are treated as pixels.
Parameters
value System.Double
The value for Height
SubTitle(System.String)
The subtitle of the widget.
Parameters
value System.String
The value for SubTitle
Title(System.String)
The title of the widget.
Parameters
value System.String
The value for Title
Toggleable(System.Boolean)
If set to false the user will not be able to expand/collapse the widget.
Parameters
value System.Boolean
The value for Toggleable
Events(System.Action<Kendo.Mvc.UI.Fluent.ExpansionPanelEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ExpansionPanelEventBuilder>
The client events action.
Example (ASPX)
@(Html.Kendo().ExpansionPanel()
.Name("ExpansionPanel")
.Events(events => events
.Expand("onExpand")
)
)