ASP.NET Pack Programmer's Guide
Accordion Members
Constructors Fields Methods
 


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 Fields

  Name Description

Dom

An object, which keeps references to various DOM elements, part of the control's structure

items

A collection with the child items.

 Public Methods

  Name Description

createItem

Creates a new AccordionItem instance and adds it to the control's items array.

deleteItem

Removes a AccordionItem instance from the control's items array.

dispose

Sys.UI.Control.dispose override.

get_autoPostBack

Gets a value indicating whether the control should post back to the server when the active item is changed.

get_enabled

Gets a value indicating whether user interaction with this item is allowed.

get_height

Gets the height of the control.

get_selectedIndex

Returns the index of the currently expanded item.

get_width

Gets the width of the control.

getActiveItem

Gets the currently expanded item.

getAllItems

Gets the collection of items for this control.

initialize

Sys.UI.Control.initialize override.

postback

Initiates a postback.

preparePostback

Prepares the Accordion control and its child items for a subsequent postback.

selectItem

Makes the specified item the active item.

set_autoPostBack

Sets a value indicating whether the control should post back to the server when the active item is changed.

set_enabled

Sets a value indicating whether user interaction with the control is allowed.

set_selectedIndex

Sets the index of the currently expanded item.

 See Also

Accordion Class
MindFusion.UI.WebForms Namespace