C# Class Adf.Web.UI.ListBoxItem

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
Afficher le fichier Open project: NLADP/ADF

Méthodes publiques

Méthode Description
Create ( string label, string name, int width, bool enabled = true, ListSelectionMode mode = ListSelectionMode.Single ) : ListBoxItem

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

ListBoxItem ( System.Web.UI.WebControls.Label label, ListBox listBox ) : System.Web.UI.WebControls

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

Method Details

Create() public static méthode

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, ListSelectionMode mode = ListSelectionMode.Single ) : ListBoxItem
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.
mode ListSelectionMode
Résultat ListBoxItem

ListBoxItem() public méthode

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