C# Class Adf.Web.UI.DropDownListItem

Represents a control that allows the user to select a single item from a drop-down list. Used as a control in the panel.
Inheritance: BasePanelItem
Mostrar archivo Open project: NLADP/ADF

Public Methods

Method Description
Create ( string label, string name, int width, bool enabled = true ) : DropDownListItem

Create a System.Web.UI.WebControls.DropDownList and add it into Adf.Web.UI.BasePanelItem.

DropDownListItem ( System.Web.UI.WebControls.Label label, DropDownList dropDownList ) : System

Initializes a new instance of the Adf.Web.UI.DropDownListItem class with the specified label and drop-down list.

Method Details

Create() public static method

Create a System.Web.UI.WebControls.DropDownList and add it into Adf.Web.UI.BasePanelItem.
public static Create ( string label, string name, int width, bool enabled = true ) : DropDownListItem
label string The display text of the drop-down list within .
name string Set the identification of control.
width int Width of control.
enabled bool A value indicating whether the control is enabled or not.
return DropDownListItem

DropDownListItem() public method

Initializes a new instance of the Adf.Web.UI.DropDownListItem class with the specified label and drop-down list.
public DropDownListItem ( System.Web.UI.WebControls.Label label, DropDownList dropDownList ) : System
label System.Web.UI.WebControls.Label The that defines display text of the drop-down list within .
dropDownList System.Web.UI.WebControls.DropDownList The that defines the control which will be added into .
return System