Defines the fluent API for configuring the Kendo ExpansionPanel for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ExpansionPanelBuilder : WidgetBuilderBase<ExpansionPanel, ExpansionPanelBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ExpansionPanel, ExpansionPanelBuilder>ExpansionPanelBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ExpansionPanel class.
public ExpansionPanelBuilder(ExpansionPanel component)
The component.
Methods
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.
public ExpansionPanelBuilder Animation(Action<ExpansionPanelAnimationSettingsBuilder> configurator)
The action that configures the animation.
Returns: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.
public ExpansionPanelBuilder Animation(bool enabled)
Enables or disables the animation option.
Returns:The class of the collapse icon.
public ExpansionPanelBuilder CollapseIconClass(string value)
The value that configures the collapseiconclass.
Returns:The HTML string representing the associated content for the component.
public ExpansionPanelBuilder Content(Action value)
The value for the associated content.
Returns:The HTML string representing the associated content for the component.
public ExpansionPanelBuilder Content(string value)
The value for the associated content.
Returns:If set to true the widget will be disabled.
public ExpansionPanelBuilder Disabled(bool value)
The value that configures the disabled.
Returns:Configures the client-side events.
public ExpansionPanelBuilder Events(Action<ExpansionPanelEventBuilder> configurator)
The client events action.
Returns:If set to true the widget will be expanded by default.
public ExpansionPanelBuilder Expanded(bool value)
The value that configures the expanded.
Returns:The class of the collapse icon.
public ExpansionPanelBuilder ExpandIconClass(string value)
The value that configures the expandiconclass.
Returns:The height of the widget. Numeric values are treated as pixels.
public ExpansionPanelBuilder Height(double value)
The value that configures the height.
Returns:The subtitle of the widget.
public ExpansionPanelBuilder SubTitle(string value)
The value that configures the subtitle.
Returns:The title of the widget.
public ExpansionPanelBuilder Title(string value)
The value that configures the title.
Returns:If set to false the user will not be able to expand/collapse the widget.
public ExpansionPanelBuilder Toggleable(bool value)
The value that configures the toggleable.
Returns: