C# Class MichaelJBaird.Themes.JQMobile.Master

Afficher le fichier Open project: rasmuskl/ReSharperCourse

Méthodes publiques

Méthode Description
CopyControlProperty ( Control source, Control target, string sourcePropertyName, string targetPropertyName ) : void

Copies the value of one control property to another control.

Master ( ) : System

Initializes a new instance of the Master class.

SetControlProperty ( Control control, string propertyName, object value ) : void

Sets a property on a control dynamicly.

Méthodes protégées

Méthode Description
OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

Render ( HtmlTextWriter writer ) : void

Sends server control content to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

Private Methods

Méthode Description
AddHeader ( string title ) : void

Adds the header.

AddMainHeader ( ) : void

Adds the main header.

SetAlternateArchive ( string alternate ) : void

Sets the alternate page.

SetAlternateContact ( string alternate ) : void

Sets the alternate page.

SetAlternatePost ( string alternatePost ) : void

Sets the alternate post page.

SetAlternatePostListControl ( string alternateControlRelativePath ) : void

Sets the alternate post list control.

SetAlternateSearch ( string alternate ) : void

Sets the alternate page.

SwitchContentControl ( ) : void

Replaces the default post linsting control used in default.aspx by a custom control.

SwitchPage ( ) : void

Replaces a default be.net page with a custom one.

Method Details

CopyControlProperty() public static méthode

Copies the value of one control property to another control.
public static CopyControlProperty ( Control source, Control target, string sourcePropertyName, string targetPropertyName ) : void
source Control The source.
target Control The target.
sourcePropertyName string Name of the source property.
targetPropertyName string Name of the target property.
Résultat void

Master() public méthode

Initializes a new instance of the Master class.
public Master ( ) : System
Résultat System

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs An object that contains the event data.
Résultat void

Page_Load() protected méthode

Handles the Load event of the Page control.
protected Page_Load ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
Résultat void

Render() protected méthode

Sends server control content to a provided T:System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
protected Render ( HtmlTextWriter writer ) : void
writer HtmlTextWriter The object that receives the server control content.
Résultat void

SetControlProperty() public static méthode

Sets a property on a control dynamicly.
public static SetControlProperty ( Control control, string propertyName, object value ) : void
control Control The control.
propertyName string Name of the property.
value object The value.
Résultat void