C# Class BrandingAddinWeb.Default

Inheritance: System.Web.UI.Page
Afficher le fichier Open project: Inmeta/aspc2016

Protected Properties

Свойство Type Description
ScriptManager1 global::System.Web.UI.ScriptManager
btnDeployTheme global::System.Web.UI.WebControls.Button
btnSetThemeForHost global::System.Web.UI.WebControls.Button
drpThemes global::System.Web.UI.WebControls.DropDownList
form1 global::System.Web.UI.HtmlControls.HtmlForm
lblStatus1 global::System.Web.UI.WebControls.Label
lblStatus2 global::System.Web.UI.WebControls.Label

Méthodes publiques

Méthode Description
DeployContosoThemeToWeb ( Web web, string themeName, string colorFilePath, string fontFilePath, string backgroundImagePath, string masterPageName ) : void
SetThemeBasedOnName ( Web web, string themeName ) : void

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void
Page_PreInit ( object sender, EventArgs e ) : void
btnDeployTheme_Click ( object sender, EventArgs e ) : void
btnSetThemeForHost_Click ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
AddNewThemeOptionToSite ( Web web, string themeName, string colorFilePath, string fontFilePath, string backGroundPath, string masterPageName ) : void
DeployFileToThemeFolderSite ( Web web, string sourceAddress ) : void
MakeAsRelativeUrl ( string urlToProcess ) : string
ThemeEntryExists ( Web web, List themeList, string themeName ) : bool
URLCombine ( string baseUrl, string relativeUrl ) : string

Method Details

DeployContosoThemeToWeb() public méthode

public DeployContosoThemeToWeb ( Web web, string themeName, string colorFilePath, string fontFilePath, string backgroundImagePath, string masterPageName ) : void
web Web
themeName string
colorFilePath string
fontFilePath string
backgroundImagePath string
masterPageName string
Résultat void

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Page_PreInit() protected méthode

protected Page_PreInit ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

SetThemeBasedOnName() public méthode

public SetThemeBasedOnName ( Web web, string themeName ) : void
web Web
themeName string
Résultat void

btnDeployTheme_Click() protected méthode

protected btnDeployTheme_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

btnSetThemeForHost_Click() protected méthode

protected btnSetThemeForHost_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

ScriptManager1 protected_oe property

ScriptManager1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.ScriptManager ScriptManager1
Résultat global::System.Web.UI.ScriptManager

btnDeployTheme protected_oe property

btnDeployTheme control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnDeployTheme
Résultat global::System.Web.UI.WebControls.Button

btnSetThemeForHost protected_oe property

btnSetThemeForHost control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnSetThemeForHost
Résultat global::System.Web.UI.WebControls.Button

drpThemes protected_oe property

drpThemes control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList drpThemes
Résultat global::System.Web.UI.WebControls.DropDownList

form1 protected_oe property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
Résultat global::System.Web.UI.HtmlControls.HtmlForm

lblStatus1 protected_oe property

lblStatus1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblStatus1
Résultat global::System.Web.UI.WebControls.Label

lblStatus2 protected_oe property

lblStatus2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblStatus2
Résultat global::System.Web.UI.WebControls.Label