C# Класс MichaelJBaird.Themes.JQMobile.Master

Показать файл Открыть проект

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

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

Защищенные методы

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

Приватные методы

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

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

CopyControlProperty() публичный статический Метод

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

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

Initializes a new instance of the Master class.
public Master ( ) : System
Результат System

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs An object that contains the event data.
Результат void

Page_Load() защищенный Метод

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

Render() защищенный Метод

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

SetControlProperty() публичный статический Метод

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