C# Class Adf.Web.UI.SmartPanel

Represent a panel that is responsible to display all the child controls in a tabular format.
Inheritance: System.Web.UI.WebControls.WebControl, INamingContainer
Show file Open project: NLADP/ADF Class Usage Examples

Public Properties

Property Type Description
ButtonCssClass string
ControlCellStyle string
LabelCellStyle string
LabelStyle string
Optional bool
PanelStyle string
RowStyle string

Protected Properties

Property Type Description
editable bool
panelItems List

Private Properties

Property Type Description

Public Methods

Method Description
Add ( IPanelItem panelItem ) : void

Adds the specified Adf.Web.UI.IPanelItem object to the end of the list.

CreateButton ( string label, bool visible = true, bool enabled = true ) : LinkButton

Protected Methods

Method Description
CreateChildControls ( ) : void

Create the control hierarchy used to render the Adf.Web.UI.SmartPanel control.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Initializes the System.Web.UI.HtmlTextWriter object and calls on the child controls of the Adf.Web.UI.SmartPanel to render.

Method Details

Add() public method

Adds the specified Adf.Web.UI.IPanelItem object to the end of the list.
public Add ( IPanelItem panelItem ) : void
panelItem IPanelItem The to add to the end of the list. The value can be null for reference types.
return void

CreateButton() public method

public CreateButton ( string label, bool visible = true, bool enabled = true ) : LinkButton
label string
visible bool
enabled bool
return System.Web.UI.WebControls.LinkButton

CreateChildControls() protected method

Create the control hierarchy used to render the Adf.Web.UI.SmartPanel control.
protected CreateChildControls ( ) : void
return void

Render() protected method

Initializes the System.Web.UI.HtmlTextWriter object and calls on the child controls of the Adf.Web.UI.SmartPanel to render.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The that receives the content of .
return void

Property Details

ButtonCssClass public property

public string ButtonCssClass
return string

ControlCellStyle public property

public string ControlCellStyle
return string

LabelCellStyle public property

public string LabelCellStyle
return string

LabelStyle public property

public string LabelStyle
return string

Optional public property

public bool Optional
return bool

PanelStyle public property

public string PanelStyle
return string

RowStyle public property

public string RowStyle
return string

editable protected property

protected bool editable
return bool

panelItems protected property

Represent strongly typed list of Adf.Web.UI.IPanelItem that can be used to hold the name of child controls within Adf.Web.UI.SmartPanel.
protected List panelItems
return List