C# Class System.Web.UI.WebControls.ListBox

Inheritance: ListControl, System.Web.UI.IPostBackDataHandler
显示文件 Open project: runefs/Marvin Class Usage Examples

Private Properties

Property Type Description
GetPostBackOptions PostBackOptions
IPostBackDataHandler bool
SelectMultiple bool
SelectSingle bool

Public Methods

Method Description
GetSelectedIndices ( ) : int[]
IPostBackDataHandler ( ) : void
ListBox ( ) : System.Collections

Protected Methods

Method Description
AddAttributesToRender ( HtmlTextWriter writer ) : void
LoadPostData ( string postDataKey, NameValueCollection postCollection ) : bool
OnPreRender ( EventArgs e ) : void
RaisePostDataChangedEvent ( ) : void
RenderContents ( HtmlTextWriter writer ) : void
VerifyMultiSelect ( ) : void

Private Methods

Method Description
GetPostBackOptions ( ) : PostBackOptions
IPostBackDataHandler ( string postDataKey, NameValueCollection postCollection ) : bool
SelectMultiple ( string values ) : bool
SelectSingle ( string values ) : bool

Method Details

AddAttributesToRender() protected method

protected AddAttributesToRender ( HtmlTextWriter writer ) : void
writer HtmlTextWriter
return void

GetSelectedIndices() public method

public GetSelectedIndices ( ) : int[]
return int[]

IPostBackDataHandler() public method

public IPostBackDataHandler ( ) : void
return void

ListBox() public method

public ListBox ( ) : System.Collections
return System.Collections

LoadPostData() protected method

protected LoadPostData ( string postDataKey, NameValueCollection postCollection ) : bool
postDataKey string
postCollection NameValueCollection
return bool

OnPreRender() protected method

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

RaisePostDataChangedEvent() protected method

protected RaisePostDataChangedEvent ( ) : void
return void

RenderContents() protected method

protected RenderContents ( HtmlTextWriter writer ) : void
writer HtmlTextWriter
return void

VerifyMultiSelect() protected method

protected VerifyMultiSelect ( ) : void
return void