ExpansionPanel
Kendo UI ExpansionPanel component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ExpansionPanel : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseExpansionPanel
Implements:
Inherited Members
Constructors
Initializes a new instance of the ExpansionPanel class.
public ExpansionPanel(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
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 ExpansionPanelAnimationSettings Animation { get; set; }
The name of the collapse icon.
public string CollapseIconClass { get; set; }
The HTML string representing the associated content for the Drawer widget
public HtmlTemplate Content { get; }
If set to true the widget will be expanded by default.
public bool? Expanded { get; set; }
The class of the expand icon.
public string ExpandIconClass { get; set; }
The height of the widget. Numeric values are treated as pixels.
public double? Height { get; set; }
If set to false the user will not be able to expand/collapse the widget.
public bool? Toggleable { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: