Class Accordion
Inheritance
System.Object
Accordion
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
public class Accordion : WebControl
Constructors
Declaration
Properties
Declaration
public AutoSize AutoSize { get; set; }
Property Value
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 |
|
Declaration
public override ControlCollection Controls { get; }
Property Value
Type |
Description |
System.Web.UI.ControlCollection |
|
Declaration
public virtual string DataMember { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual object DataSource { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
public virtual string DataSourceID { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool FadeTransitions { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int FramesPerSecond { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string HeaderCssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string HeaderSelectedCssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual ITemplate HeaderTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
protected bool IsBoundUsingDataSourceID { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public AccordionPaneCollection Panes { get; }
Property Value
Declaration
public bool RequireOpenedPane { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool RequiresDataBinding { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected DataSourceSelectArguments SelectArguments { get; }
Property Value
Type |
Description |
System.Web.UI.DataSourceSelectArguments |
|
Declaration
public int SelectedIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool SuppressHeaderPostbacks { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int TransitionDuration { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
protected override void CreateChildControls()
Declaration
protected virtual void CreateControlHierarchy(bool useDataSource)
Parameters
Type |
Name |
Description |
System.Boolean |
useDataSource |
|
Declaration
protected virtual DataSourceSelectArguments CreateDataSourceSelectArguments()
Returns
Type |
Description |
System.Web.UI.DataSourceSelectArguments |
|
Declaration
public override void DataBind()
Declaration
protected void EnsureDataBound()
Declaration
public override Control FindControl(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Type |
Description |
System.Web.UI.Control |
|
Declaration
protected virtual IEnumerable GetData()
Returns
Type |
Description |
System.Collections.IEnumerable |
|
Declaration
protected override bool OnBubbleEvent(object source, EventArgs args)
Parameters
Type |
Name |
Description |
System.Object |
source |
|
System.EventArgs |
args |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected override void OnDataBinding(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnDataPropertyChanged()
Declaration
protected virtual void OnDataSourceViewChanged(object sender, EventArgs args)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
args |
|
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnItemCommand(AccordionCommandEventArgs args)
Parameters
Declaration
protected virtual void OnItemCreated(AccordionItemEventArgs args)
Parameters
Declaration
protected virtual void OnItemDataBound(AccordionItemEventArgs args)
Parameters
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Events
Declaration
public event CommandEventHandler ItemCommand
Event Type
Type |
Description |
System.Web.UI.WebControls.CommandEventHandler |
|
Declaration
public event EventHandler<AccordionItemEventArgs> ItemCreated
Event Type
Declaration
public event EventHandler<AccordionItemEventArgs> ItemDataBound
Event Type