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

Afficher le fichier Open project: Earthware/n2cms

Méthodes publiques

Méthode 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

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

Method Details

Includes() public méthode

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
Résultat ControlPanelHelper

RefreshNavigation() public méthode

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

Render() public méthode

public Render ( ) : void
Résultat void

Selected() public méthode

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

ToHtmlString() public méthode

public ToHtmlString ( ) : string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

WriteTo() public méthode

public WriteTo ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void