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
Datei anzeigen 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_oe property

public string ButtonCssClass
return string

ControlCellStyle public_oe property

public string ControlCellStyle
return string

LabelCellStyle public_oe property

public string LabelCellStyle
return string

LabelStyle public_oe property

public string LabelStyle
return string

Optional public_oe property

public bool Optional
return bool

PanelStyle public_oe property

public string PanelStyle
return string

RowStyle public_oe property

public string RowStyle
return string

editable protected_oe property

protected bool editable
return bool

panelItems protected_oe 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