C# Class Adf.Web.UI.BasePanelItem

Serves as the base class that defines the methods and properties common to all controls in the Adf.Web.UI namespace.
Inheritance: IPanelItem
Show file Open project: NLADP/ADF Class Usage Examples

Protected Properties

Property Type Description
_id string
_itemControls List
_labelControls List
_visible bool

Public Methods

Method Description
AddControl ( WebControl control ) : void

Add the System.Web.UI.WebControls.WebControl to item control list. Used to hold the object of child controls within panel.

AddLabelControl ( WebControl control ) : void

Add the System.Web.UI.WebControls.WebControl to label control list. Used to hold the label of child controls within panel.

InsertControl ( int index, Control control ) : void

Insert the System.Web.UI.Control to item control list at the specified index

Method Details

AddControl() public method

Add the System.Web.UI.WebControls.WebControl to item control list. Used to hold the object of child controls within panel.
public AddControl ( WebControl control ) : void
control System.Web.UI.WebControls.WebControl The that defines the controls which will be added.
return void

AddLabelControl() public method

Add the System.Web.UI.WebControls.WebControl to label control list. Used to hold the label of child controls within panel.
public AddLabelControl ( WebControl control ) : void
control System.Web.UI.WebControls.WebControl The that defines the controls which will be added.
return void

InsertControl() public method

Insert the System.Web.UI.Control to item control list at the specified index
public InsertControl ( int index, Control control ) : void
index int index at which item should be added
control System.Web.UI.Control The that defines the control which will be added.
return void

Property Details

_id protected property

Represent the identifier of the pannel.
protected string _id
return string

_itemControls protected property

Represent strongly typed list of System.Web.UI.WebControls.WebControl that can be used to hold the object of child controls within panel.
protected List _itemControls
return List

_labelControls protected property

Represent strongly typed list of System.Web.UI.WebControls.WebControl that can be used to hold the display name of child controls within panel.
protected List _labelControls
return List

_visible protected property

Represent the visibility of controls within the panel
protected bool _visible
return bool