C# Class AjaxControlToolkit.Accordion

Inheritance: System.Web.UI.WebControls.WebControl
显示文件 Open project: DevExpress/AjaxControlToolkit Class Usage Examples

Private Properties

Property Type Description
ClearPanes void
ConnectToDataSourceView System.Web.UI.DataSourceView
CreateItem void
DoSelect void
OnPagePreLoad void

Public Methods

Method Description
Accordion ( ) : System
DataBind ( ) : void

Bind the Accordion to its DataSource

FindControl ( string id ) : Control

Override FindControl to look first at this control, then check each of its child AccordionPanes for the control

Protected Methods

Method Description
CreateChildControls ( ) : void
CreateControlHierarchy ( bool useDataSource ) : void
CreateDataSourceSelectArguments ( ) : System.Web.UI.DataSourceSelectArguments
EnsureDataBound ( ) : void
GetData ( ) : IEnumerable
OnBubbleEvent ( object source, EventArgs args ) : bool
OnDataBinding ( EventArgs e ) : void
OnDataPropertyChanged ( ) : void
OnDataSourceViewChanged ( object sender, EventArgs args ) : void
OnInit ( EventArgs e ) : void
OnItemCommand ( AccordionCommandEventArgs args ) : void
OnItemCreated ( AccordionItemEventArgs args ) : void
OnItemDataBound ( AccordionItemEventArgs args ) : void
OnLoad ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void

Private Methods

Method Description
ClearPanes ( ) : void
ConnectToDataSourceView ( ) : System.Web.UI.DataSourceView
CreateItem ( object dataItem, int index, AccordionItemType itemType, AccordionContentPanel container, ITemplate template, bool dataBind ) : void
DoSelect ( IEnumerable data ) : void
OnPagePreLoad ( object sender, EventArgs e ) : void

Method Details

Accordion() public method

public Accordion ( ) : System
return System

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

CreateControlHierarchy() protected method

protected CreateControlHierarchy ( bool useDataSource ) : void
useDataSource bool
return void

CreateDataSourceSelectArguments() protected method

protected CreateDataSourceSelectArguments ( ) : System.Web.UI.DataSourceSelectArguments
return System.Web.UI.DataSourceSelectArguments

DataBind() public method

Bind the Accordion to its DataSource
public DataBind ( ) : void
return void

EnsureDataBound() protected method

protected EnsureDataBound ( ) : void
return void

FindControl() public method

Override FindControl to look first at this control, then check each of its child AccordionPanes for the control
public FindControl ( string id ) : Control
id string ID of the control to find
return System.Web.UI.Control

GetData() protected method

protected GetData ( ) : IEnumerable
return IEnumerable

OnBubbleEvent() protected method

protected OnBubbleEvent ( object source, EventArgs args ) : bool
source object
args System.EventArgs
return bool

OnDataBinding() protected method

protected OnDataBinding ( EventArgs e ) : void
e System.EventArgs
return void

OnDataPropertyChanged() protected method

protected OnDataPropertyChanged ( ) : void
return void

OnDataSourceViewChanged() protected method

protected OnDataSourceViewChanged ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnItemCommand() protected method

protected OnItemCommand ( AccordionCommandEventArgs args ) : void
args AccordionCommandEventArgs
return void

OnItemCreated() protected method

protected OnItemCreated ( AccordionItemEventArgs args ) : void
args AccordionItemEventArgs
return void

OnItemDataBound() protected method

protected OnItemDataBound ( AccordionItemEventArgs args ) : void
args AccordionItemEventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void