November Happy Hour will be moved to Thursday December 5th.

Class Accordion

Inheritance
System.Object
Accordion
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
public class Accordion : WebControl

Constructors

Accordion()

Declaration
public Accordion()

Properties

AutoSize

Declaration
public AutoSize AutoSize { get; set; }
Property Value
Type Description
AutoSize

ContentCssClass

Declaration
public string ContentCssClass { get; set; }
Property Value
Type Description
System.String

ContentTemplate

Declaration
public virtual ITemplate ContentTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

Controls

Declaration
public override ControlCollection Controls { get; }
Property Value
Type Description
System.Web.UI.ControlCollection

DataMember

Declaration
public virtual string DataMember { get; set; }
Property Value
Type Description
System.String

DataSource

Declaration
public virtual object DataSource { get; set; }
Property Value
Type Description
System.Object

DataSourceID

Declaration
public virtual string DataSourceID { get; set; }
Property Value
Type Description
System.String

FadeTransitions

Declaration
public bool FadeTransitions { get; set; }
Property Value
Type Description
System.Boolean

FramesPerSecond

Declaration
public int FramesPerSecond { get; set; }
Property Value
Type Description
System.Int32

HeaderCssClass

Declaration
public string HeaderCssClass { get; set; }
Property Value
Type Description
System.String

HeaderSelectedCssClass

Declaration
public string HeaderSelectedCssClass { get; set; }
Property Value
Type Description
System.String

HeaderTemplate

Declaration
public virtual ITemplate HeaderTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

IsBoundUsingDataSourceID

Declaration
protected bool IsBoundUsingDataSourceID { get; }
Property Value
Type Description
System.Boolean

Panes

Declaration
public AccordionPaneCollection Panes { get; }
Property Value
Type Description
AccordionPaneCollection

RequireOpenedPane

Declaration
public bool RequireOpenedPane { get; set; }
Property Value
Type Description
System.Boolean

RequiresDataBinding

Declaration
protected bool RequiresDataBinding { get; set; }
Property Value
Type Description
System.Boolean

SelectArguments

Declaration
protected DataSourceSelectArguments SelectArguments { get; }
Property Value
Type Description
System.Web.UI.DataSourceSelectArguments

SelectedIndex

Declaration
public int SelectedIndex { get; set; }
Property Value
Type Description
System.Int32

SuppressHeaderPostbacks

Declaration
public bool SuppressHeaderPostbacks { get; set; }
Property Value
Type Description
System.Boolean

TransitionDuration

Declaration
public int TransitionDuration { get; set; }
Property Value
Type Description
System.Int32

Methods

CreateChildControls()

Declaration
protected override void CreateChildControls()

CreateControlHierarchy(Boolean)

Declaration
protected virtual void CreateControlHierarchy(bool useDataSource)
Parameters
Type Name Description
System.Boolean useDataSource

CreateDataSourceSelectArguments()

Declaration
protected virtual DataSourceSelectArguments CreateDataSourceSelectArguments()
Returns
Type Description
System.Web.UI.DataSourceSelectArguments

DataBind()

Declaration
public override void DataBind()

EnsureDataBound()

Declaration
protected void EnsureDataBound()

FindControl(String)

Declaration
public override Control FindControl(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
System.Web.UI.Control

GetData()

Declaration
protected virtual IEnumerable GetData()
Returns
Type Description
System.Collections.IEnumerable

OnBubbleEvent(Object, EventArgs)

Declaration
protected override bool OnBubbleEvent(object source, EventArgs args)
Parameters
Type Name Description
System.Object source
System.EventArgs args
Returns
Type Description
System.Boolean

OnDataBinding(EventArgs)

Declaration
protected override void OnDataBinding(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnDataPropertyChanged()

Declaration
protected virtual void OnDataPropertyChanged()

OnDataSourceViewChanged(Object, EventArgs)

Declaration
protected virtual void OnDataSourceViewChanged(object sender, EventArgs args)
Parameters
Type Name Description
System.Object sender
System.EventArgs args

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnItemCommand(AccordionCommandEventArgs)

Declaration
protected virtual void OnItemCommand(AccordionCommandEventArgs args)
Parameters
Type Name Description
AccordionCommandEventArgs args

OnItemCreated(AccordionItemEventArgs)

Declaration
protected virtual void OnItemCreated(AccordionItemEventArgs args)
Parameters
Type Name Description
AccordionItemEventArgs args

OnItemDataBound(AccordionItemEventArgs)

Declaration
protected virtual void OnItemDataBound(AccordionItemEventArgs args)
Parameters
Type Name Description
AccordionItemEventArgs args

OnLoad(EventArgs)

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

Events

ItemCommand

Declaration
public event CommandEventHandler ItemCommand
Event Type
Type Description
System.Web.UI.WebControls.CommandEventHandler

ItemCreated

Declaration
public event EventHandler<AccordionItemEventArgs> ItemCreated
Event Type
Type Description
System.EventHandler<AccordionItemEventArgs>

ItemDataBound

Declaration
public event EventHandler<AccordionItemEventArgs> ItemDataBound
Event Type
Type Description
System.EventHandler<AccordionItemEventArgs>