MindFusion.UI for WebForms Programmer's Guide

Accordion Members

Constructors Properties Methods Events
 


Represents a container of elements. The elements in the Accordion can be expanded or collapsed.

The following tables list the members exposed by the Accordion type.

 Public Constructors

  Name Description

Accordion

Initializes a new instance of the Accordion class.

 Public Properties

  Name Description

ActiveItemChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the active item is changed

ActiveItemChangingScript

Gets or sets the name of a JavaScript function that should be invoked right before the active item is changed

AutoPostBack

Gets or sets a value specifying whether the control should automatically post back to the server when the selected item is changed.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

Controls

Control.ControlCollection override.

Height

WebControl.Height override.

ItemContentCssClass

Gets or sets the CSS class, defining the common style of child items' content.

ItemCssClass

Gets or sets the CSS class, defining the common style of child items.

ItemHeaderCssClass

Gets or sets the CSS class, defining the common style of child items' header.

Items

Gets the collection of AccordionItems for this control.

SelectedIndex

Gets or sets the index of the currently selected AccordionItem.

Theme

Gets or sets the theme applied to the control UI elements.

Width

WebControl.Width override.

 Public Methods

  Name Description

DataBind

Control.DataBind override.

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

LoadPostData

When implemented by a derived class, processes postback data for an ASP.NET server control.

RaisePostDataChangedEvent

When implemented by a derived class in the server control notifies the ASP.NET application that the state of the control has changed.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

 Protected Methods

  Name Description

CreateChildControls

Control.CreateChildControls override.

LoadViewState

Control.LoadViewState override.

OnAccordionItemCreated

Raises the AccordionItemCreated event.

OnAccordionItemDeleted

Raises the AccordionItemDeleted event.

OnBeginLoad

Raises the BeginLoad event.

OnDeselected

Raises the Deselected event.

OnEndLoad

Raises the EndLoad event.

OnPreRender

Control.OnPreRender override.

OnSelected

Raises the Selected event.

OnSelectedIndexChanged

Raises the SelectedIndexChanged event.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

SaveViewState

Control.SaveViewState override.

TrackViewState

Control.TrackViewState override.

 Public Events

  Name Description

AccordionItemCreated

Raised when an AccordionItem is created.

AccordionItemDeleted

Raised when an AccordionItem is deleted.

BeginLoad

Raised when the component starts loading data from a file or memory stream.

Deselected

Raised when an AccordionItem is deselected.

EndLoad

Raised when the component ends loading data from a file or memory stream.

Selected

Raised when an AccordionItem is selected.

SelectedIndexChanged

Raised when the value of the SelectedIndex property has changed.

 See Also