C# Class Sitecore.SharedSource.EditForm.CustomSitecore.Applications.Content_Editor.Editors.EditForm

Inheritance: XamlMainControl, IHasCommandContext
显示文件 Open project: Velir/Sitecore-EditForm

Protected Properties

Property Type Description
ItemList Scrollbox

Public Methods

Method Description
GetCommandContext ( ) : CommandContext

Gets the command context.

Protected Methods

Method Description
GetClick ( System.Item item ) : string
GetEditFormButtons ( ) : List

This will return the button items from Sitecore

GetItems ( System.Item item ) : List
OnLoad ( EventArgs e ) : void
Refresh_Click ( ) : void
RenderButton ( System.Web.UI.HtmlTextWriter innerOutput, EditFormButtonItem button ) : void

Renders a Button

RenderButtons ( System.Web.UI.HtmlTextWriter output, System.Item item ) : void

Renders the Edit Forms Buttons

RenderItem ( System.Web.UI.HtmlTextWriter output, System.Item item ) : void

Renders an item onto the Edit Form

RenderItems ( System.Web.UI.HtmlTextWriter output, System.Item item ) : void

Renders the current items children onto the Edit Form

Private Methods

Method Description
Render ( ) : void

Render the Edit Form

Method Details

GetClick() protected method

protected GetClick ( System.Item item ) : string
item System.Item
return string

GetCommandContext() public method

Gets the command context.
public GetCommandContext ( ) : CommandContext
return CommandContext

GetEditFormButtons() protected method

This will return the button items from Sitecore
protected GetEditFormButtons ( ) : List
return List

GetItems() protected method

protected GetItems ( System.Item item ) : List
item System.Item
return List

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

Refresh_Click() protected method

protected Refresh_Click ( ) : void
return void

RenderButton() protected method

Renders a Button
protected RenderButton ( System.Web.UI.HtmlTextWriter innerOutput, EditFormButtonItem button ) : void
innerOutput System.Web.UI.HtmlTextWriter
button Sitecore.SharedSource.EditForm.CustomItems.Common.Editform.EditFormButtonItem
return void

RenderButtons() protected method

Renders the Edit Forms Buttons
protected RenderButtons ( System.Web.UI.HtmlTextWriter output, System.Item item ) : void
output System.Web.UI.HtmlTextWriter
item System.Item
return void

RenderItem() protected method

Renders an item onto the Edit Form
protected RenderItem ( System.Web.UI.HtmlTextWriter output, System.Item item ) : void
output System.Web.UI.HtmlTextWriter
item System.Item
return void

RenderItems() protected method

Renders the current items children onto the Edit Form
protected RenderItems ( System.Web.UI.HtmlTextWriter output, System.Item item ) : void
output System.Web.UI.HtmlTextWriter
item System.Item
return void

Property Details

ItemList protected_oe property

protected Scrollbox ItemList
return Scrollbox