New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ExpansionPanel component

Definition

Constructors

Initializes a new instance of the ExpansionPanel class.

C#
public ExpansionPanel(ViewContext viewContext)
Parameters:viewContextViewContext

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.

C#
public ExpansionPanelAnimationSettings Animation { get; }

The name of the collapse icon.

C#
public string CollapseIconClass { get; set; }

The HTML string representing the associated content for the Drawer widget.

C#
public HtmlTemplate Content { get; set; }

If set to true the widget will be disabled.

C#
public bool? Disabled { get; set; }

If set to true the widget will be expanded by default.

C#
public bool? Expanded { get; set; }

The class of the expand icon.

C#
public string ExpandIconClass { get; set; }

The height of the widget. Numeric values are treated as pixels.

C#
public double? Height { get; set; }

The subtitle of the widget.

C#
public string SubTitle { get; set; }

The title of the widget.

C#
public string Title { get; set; }

If set to false the user will not be able to expand/collapse the widget.

C#
public bool? Toggleable { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)