C# Класс 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.
Наследование: IPanelItem
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_id string
_itemControls List
_labelControls List
_visible bool

Открытые методы

Метод Описание
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

Описание методов

AddControl() публичный Метод

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.
Результат void

AddLabelControl() публичный Метод

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.
Результат void

InsertControl() публичный Метод

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.
Результат void

Описание свойств

_id защищенное свойство

Represent the identifier of the pannel.
protected string _id
Результат string

_itemControls защищенное свойство

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
Результат List

_labelControls защищенное свойство

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
Результат List

_visible защищенное свойство

Represent the visibility of controls within the panel
protected bool _visible
Результат bool