C# 클래스 BootstrapMvcHelpers.Bootstrap

The Bootstrap Html Helper class
파일 보기 프로젝트 열기: JCherryhomes/BootstrapMvcHelpers

공개 메소드들

메소드 설명
Badge ( this helper, string text, BootstrapStatus status, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders a Twitter Bootstrap badge component

Breadcrumb ( this helper, IEnumerable actionLinks, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString

Renders a Twitter Bootstrap breadcrumb component.

Button ( this helper, string text, string action, string controller = "", ButtonStatus status = ButtonStatus.Default, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString

Renders a Twitter Bootstrap Button Component

Label ( this helper, string text, BootstrapStatus status, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders a Twitter Bootstrap label component

MenuDropDown ( this helper, string name, IEnumerable selectList, string optionLabel = null, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString

Renders the menu drop down component.

MenuItem ( this helper, string text, string action, string controller = null ) : MenuItem

The menu item.

NavBar ( this helper, IEnumerable menuList, BrandPosition brandPosition = BrandPosition.None, NavBarDisplay displayType = NavBarDisplay.Normal, NavBarPosition navbarPosition = NavBarPosition.Default, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString

Renders a Twitter Bootstrap NavBar component.

비공개 메소드들

메소드 설명
GetStatusStrategy ( BootstrapStatus status ) : IStatusStrategy

Gets the status strategy.

GetStatusStrategy ( ButtonStatus status ) : IStatusStrategy

Gets the button status strategy.

메소드 상세

Badge() 공개 정적인 메소드

Renders a Twitter Bootstrap badge component
public static Badge ( this helper, string text, BootstrapStatus status, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
helper this The html helper.
text string The text.
status BootstrapStatus The status.
htmlAttributes object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

Breadcrumb() 공개 정적인 메소드

Renders a Twitter Bootstrap breadcrumb component.
public static Breadcrumb ( this helper, IEnumerable actionLinks, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString
helper this The Html helper.
actionLinks IEnumerable The action links.
htmlAttributes object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

Button() 공개 정적인 메소드

Renders a Twitter Bootstrap Button Component
public static Button ( this helper, string text, string action, string controller = "", ButtonStatus status = ButtonStatus.Default, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString
helper this The helper.
text string The text.
action string The action.
controller string The controller.
status ButtonStatus The status.
htmlAttributes object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

Label() 공개 정적인 메소드

Renders a Twitter Bootstrap label component
public static Label ( this helper, string text, BootstrapStatus status, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
helper this The html helper.
text string The text.
status BootstrapStatus The label status.
htmlAttributes object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

MenuDropDown() 공개 정적인 메소드

Renders the menu drop down component.
public static MenuDropDown ( this helper, string name, IEnumerable selectList, string optionLabel = null, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString
helper this The helper.
name string The name.
selectList IEnumerable The select list.
optionLabel string The option label.
htmlAttributes object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

MenuItem() 공개 정적인 메소드

The menu item.
public static MenuItem ( this helper, string text, string action, string controller = null ) : MenuItem
helper this The helper.
text string The text.
action string The action.
controller string The controller.
리턴 MenuItem

NavBar() 공개 정적인 메소드

Renders a Twitter Bootstrap NavBar component.
public static NavBar ( this helper, IEnumerable menuList, BrandPosition brandPosition = BrandPosition.None, NavBarDisplay displayType = NavBarDisplay.Normal, NavBarPosition navbarPosition = NavBarPosition.Default, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString
helper this The HTML helper.
menuList IEnumerable The menu list.
brandPosition BrandPosition The brand position.
displayType NavBarDisplay
navbarPosition NavBarPosition
htmlAttributes object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString