C# Class Daniel15.Web.Extensions.HtmlLayoutExtensions

HtmlHelper extensions for rendering of the page
Show file Open project: Daniel15/Website

Public Methods

Method Description
BodyClass ( this htmlHelper ) : string

Gets the value to use for the class attribute on the body tag

BodyId ( this htmlHelper ) : string

Gets the value to use for the id attribute on the body tag

Menu ( this htmlHelper ) : IHtmlContent

Renders the top menu

Method Details

BodyClass() public static method

Gets the value to use for the class attribute on the body tag
public static BodyClass ( this htmlHelper ) : string
htmlHelper this The HTML helper.
return string

BodyId() public static method

Gets the value to use for the id attribute on the body tag
public static BodyId ( this htmlHelper ) : string
htmlHelper this The HTML helper.
return string

Menu() public static method

Renders the top menu
public static Menu ( this htmlHelper ) : IHtmlContent
htmlHelper this The HTML helper.
return IHtmlContent