C# Class N2.Web.Mvc.Html.ControlPanelExtensions.ControlPanelHelper

Mostrar archivo Open project: Earthware/n2cms

Public Methods

Method Description
Includes ( bool jQuery = true, bool jQueryPlugins = true, bool partScripts = true, bool partStyles = true ) : ControlPanelHelper

Is used to instruct the control panel helper to render less javascript and css resources.

RefreshNavigation ( bool refreshNavigation = true ) : ControlPanelHelper

Is used to instruct the control panel helper not to refresh navigation to the current page.

Render ( ) : void
Selected ( ContentItem currentItem ) : ControlPanelHelper

Sets the selected item control panel plugins are bound to.

ToHtmlString ( ) : string
ToString ( ) : string
WriteTo ( TextWriter writer ) : void

Private Methods

Method Description
Definitions ( HtmlHelper html, IEngine engine, ContentItem item, ControlPanelState state ) : string
Plugins ( HtmlHelper html, ContentItem item, ControlPanelState state ) : string

Method Details

Includes() public method

Is used to instruct the control panel helper to render less javascript and css resources.
public Includes ( bool jQuery = true, bool jQueryPlugins = true, bool partScripts = true, bool partStyles = true ) : ControlPanelHelper
jQuery bool
jQueryPlugins bool
partScripts bool
partStyles bool
return ControlPanelHelper

RefreshNavigation() public method

Is used to instruct the control panel helper not to refresh navigation to the current page.
public RefreshNavigation ( bool refreshNavigation = true ) : ControlPanelHelper
refreshNavigation bool
return ControlPanelHelper

Render() public method

public Render ( ) : void
return void

Selected() public method

Sets the selected item control panel plugins are bound to.
public Selected ( ContentItem currentItem ) : ControlPanelHelper
currentItem ContentItem
return ControlPanelHelper

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

WriteTo() public method

public WriteTo ( TextWriter writer ) : void
writer System.IO.TextWriter
return void