C# Class Spring.Web.UI.Controls.Panel

Inheritance: System.Web.UI.WebControls.Panel, ISupportsWebDependencyInjection
Datei anzeigen Open project: spring-projects/spring-net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the HTML opening tag of the control to the specified writer.

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

Renders the HTML closing tag of the control to the specified writer.

Protected Methods

Method Description
AddedControl ( Control control, int index ) : void

Injects dependencies into control before adding it.

CreateControlCollection ( ) : System.Web.UI.ControlCollection

Overridden to automatically aquire a reference to root application context to use for DI.

OnPreInitRecursive ( EventArgs e ) : void

This method is invoked right before InitRecursive() is called for this Panel and ensures, that dependencies get injected on child controls before their Init event is raised.

OnPreRender ( EventArgs e ) : void

Overridden to set Control.Visible according to VisibleIf if necessary.

Method Details

AddedControl() protected method

Injects dependencies into control before adding it.
protected AddedControl ( Control control, int index ) : void
control System.Web.UI.Control
index int
return void

CreateControlCollection() protected method

Overridden to automatically aquire a reference to root application context to use for DI.
protected CreateControlCollection ( ) : System.Web.UI.ControlCollection
return System.Web.UI.ControlCollection

OnPreInitRecursive() protected method

This method is invoked right before InitRecursive() is called for this Panel and ensures, that dependencies get injected on child controls before their Init event is raised.
protected OnPreInitRecursive ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

Overridden to set Control.Visible according to VisibleIf if necessary.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

RenderBeginTag() public method

Renders the HTML opening tag of the control to the specified writer.
public RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void

RenderEndTag() public method

Renders the HTML closing tag of the control to the specified writer.
public RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void