Defines the fluent API for configuring the Kendo UI ExpansionPanel
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ExpansionPanelBuilder : WidgetBuilderBase<ExpansionPanel, ExpansionPanelBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<ExpansionPanel, ExpansionPanelBuilder>ExpansionPanelBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ExpansionPanelBuilder class.
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 ExpansionPanelAnimationSettingsBuilder for the animation setting.
Returns:Returns the current instance of ExpansionPanelBuilder .
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:Returns the current instance of ExpansionPanelAnimationSettingsBuilder .
The name of the collapse icon.
public ExpansionPanelBuilder CollapseIconClass(string value)
The value for CollapseIconClass
Returns:Returns the current ExpansionPanelBuilder instance.
The HTML string representing the associated content for the component.
public ExpansionPanelBuilder Content(Action value)
The value for Position
Returns:Returns the current instance of ExpansionPanelBuilder to allow method chaining.
The HTML string representing the associated content for the component.
public ExpansionPanelBuilder Content(Func<object, object> value)
The value for Position
Returns:Returns the current instance of ExpansionPanelBuilder to allow method chaining.
The HTML string representing the associated content for the component.
public ExpansionPanelBuilder Content(string value)
The value for Position
Returns:Returns the current instance of ExpansionPanelBuilder to allow method chaining.
If set to true the widget will be disabled.
public ExpansionPanelBuilder Disabled()
Returns the current ExpansionPanelBuilder instance.
If set to true the widget will be disabled.
public ExpansionPanelBuilder Disabled(bool value)
The value for Disabled
Returns:Returns the current ExpansionPanelBuilder instance.
Configures the client-side events.
public ExpansionPanelBuilder Events(Action<ExpansionPanelEventBuilder> configurator)
The client events action.
Returns:Returns the current ExpansionPanelBuilder instance.
If set to true the widget will be expanded by default.
public ExpansionPanelBuilder Expanded()
Returns the current ExpansionPanelBuilder instance.
If set to true the widget will be expanded by default.
public ExpansionPanelBuilder Expanded(bool value)
The value for Expanded
Returns:Returns the current ExpansionPanelBuilder instance.
The class of the expand icon.
public ExpansionPanelBuilder ExpandIconClass(string value)
The value for ExpandIconClass
Returns:Returns the current ExpansionPanelBuilder instance.
The height of the widget. Numeric values are treated as pixels.
public ExpansionPanelBuilder Height(double value)
The value for Height
Returns:Returns the current ExpansionPanelBuilder instance.
The subtitle of the widget.
public ExpansionPanelBuilder SubTitle(string value)
The value for SubTitle
Returns:Returns the current ExpansionPanelBuilder instance.
The title of the widget.
public ExpansionPanelBuilder Title(string value)
The value for Title
Returns:Returns the current ExpansionPanelBuilder instance.
If set to false the user will not be able to expand/collapse the widget.
public ExpansionPanelBuilder Toggleable(bool value)
The value for Toggleable
Returns:Returns the current ExpansionPanelBuilder instance.