C# Класс BrandingAddinWeb.Default

Наследование: System.Web.UI.Page
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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

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

Метод Описание
DeployContosoThemeToWeb ( Web web, string themeName, string colorFilePath, string fontFilePath, string backgroundImagePath, string masterPageName ) : void
SetThemeBasedOnName ( Web web, string themeName ) : void

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

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

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

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

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

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

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

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

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

protected Page_PreInit ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

public SetThemeBasedOnName ( Web web, string themeName ) : void
web Web
themeName string
Результат void

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

protected btnDeployTheme_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

protected btnSetThemeForHost_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Описание свойств

ScriptManager1 защищенное свойство

ScriptManager1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.ScriptManager ScriptManager1
Результат global::System.Web.UI.ScriptManager

btnDeployTheme защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

btnSetThemeForHost защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

drpThemes защищенное свойство

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
Результат global::System.Web.UI.WebControls.DropDownList

form1 защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlForm

lblStatus1 защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label

lblStatus2 защищенное свойство

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
Результат global::System.Web.UI.WebControls.Label