C# Класс N2.Web.UI.WebControls.ControlPanel

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

Private Properties

Свойство Тип Описание
GetArray IList
GetArrays IList>.IDictionary
GetPossibleDefinitions List
GetState ControlPanelState
GetState ControlPanelState
GetState ControlPanelState
Page_InitComplete void
RegisterDragDropScripts void
RegisterDragDropStyles void

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

Метод Описание
DragDropScriptInitialization ( ContentItem item ) : string
FormatImageAndText ( string iconUrl, string iconClass, string text ) : string
GetPartDefinitions ( N2.Web.Parts.PartsAdapter adapter, ContentItem item, IEnumerable pageZones, IPrincipal user ) : IEnumerable

Gets part definitions that can be added to the given page.

GetQuickEditUrl ( string editParameter ) : string

Gets the url for editing the page directly.

GetState ( Control control ) : ControlPanelState
GetState ( IEngine engine ) : ControlPanelState
GetState ( ISecurityManager security, NameValueCollection queryString, ContentItem item, IPrincipal user ) : ControlPanelState
RegisterArrayValue ( Page page, string key, string value ) : void

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

Метод Описание
AddDefinitions ( Control container ) : void
AddPlugins ( ControlPanelState state ) : void
AppendDefinedTemplate ( ITemplate template, Control container ) : void
CreateChildControls ( ) : void
OnInit ( EventArgs e ) : void
OriginatesFromEdit ( ) : bool
Render ( System.Web.UI.HtmlTextWriter writer ) : void

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

Метод Описание
GetArray ( string key, Page page ) : IList
GetArrays ( Page page ) : IList>.IDictionary
GetPossibleDefinitions ( N2.Web.Parts.PartsAdapter adapter, IEnumerable pageZones, IPrincipal user ) : List
GetState ( IPrincipal user, NameValueCollection queryString ) : ControlPanelState
GetState ( ISecurityManager security, IPrincipal user, NameValueCollection queryString ) : ControlPanelState
GetState ( ISecurityManager security, IWebContext request ) : ControlPanelState
Page_InitComplete ( object sender, EventArgs e ) : void
RegisterDragDropScripts ( ) : void
RegisterDragDropStyles ( ) : void

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

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

protected AddDefinitions ( Control container ) : void
container System.Web.UI.Control
Результат void

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

protected AddPlugins ( ControlPanelState state ) : void
state ControlPanelState
Результат void

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

protected AppendDefinedTemplate ( ITemplate template, Control container ) : void
template ITemplate
container System.Web.UI.Control
Результат void

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

protected CreateChildControls ( ) : void
Результат void

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

public static DragDropScriptInitialization ( ContentItem item ) : string
item ContentItem
Результат string

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

public static FormatImageAndText ( string iconUrl, string iconClass, string text ) : string
iconUrl string
iconClass string
text string
Результат string

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

Gets part definitions that can be added to the given page.
public static GetPartDefinitions ( N2.Web.Parts.PartsAdapter adapter, ContentItem item, IEnumerable pageZones, IPrincipal user ) : IEnumerable
adapter N2.Web.Parts.PartsAdapter
item ContentItem
pageZones IEnumerable
user IPrincipal
Результат IEnumerable

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

Gets the url for editing the page directly.
public GetQuickEditUrl ( string editParameter ) : string
editParameter string
Результат string

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

public static GetState ( Control control ) : ControlPanelState
control System.Web.UI.Control
Результат ControlPanelState

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

public static GetState ( IEngine engine ) : ControlPanelState
engine IEngine
Результат ControlPanelState

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

public static GetState ( ISecurityManager security, NameValueCollection queryString, ContentItem item, IPrincipal user ) : ControlPanelState
security ISecurityManager
queryString System.Collections.Specialized.NameValueCollection
item ContentItem
user IPrincipal
Результат ControlPanelState

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

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Результат void

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

protected OriginatesFromEdit ( ) : bool
Результат bool

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

public static RegisterArrayValue ( Page page, string key, string value ) : void
page System.Web.UI.Page
key string
value string
Результат void

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

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
Результат void