C# 클래스 Framework.Mvc.Extensions.ButtonExtensions

Adds methods for generating buttons HTML-markup to HtmlHelper.
파일 보기 프로젝트 열기: coreframework/Core-Framework

공개 프로퍼티들

프로퍼티 타입 설명
ButtonCssClass String
EmptyHref String
HiddenSubmitCssClass String
SubmitButtonCssClass String

공개 메소드들

메소드 설명
HiddenSubmit ( this html ) : System.Web.Mvc.MvcHtmlString

Renders an HTML submit element with HiddenSubmitCssClass CSS-class.

Hidden submit used for form submiting on enter press.

HiddenSubmit ( this html, String text ) : System.Web.Mvc.MvcHtmlString

Renders an HTML submit element with HiddenSubmitCssClass CSS-class.

Hidden submit used for form submiting on enter press.

LinkButton ( this html, String text ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button.

LinkButton ( this html, String text, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button.

LinkButton ( this html, String text, String href ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button with CSS-class specified.

LinkButton ( this html, String text, String href, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button with CSS-class specified.

LinkSubmitButton ( this html, String text ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button.

LinkSubmitButton ( this html, String text, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button.

LinkSubmitButton ( this html, String text, String href ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button with CSS-class specified.

LinkSubmitButton ( this html, String text, String href, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders an HTML link element styled as button with CSS-class specified.

Submit ( this html, String text ) : System.Web.Mvc.MvcHtmlString

Renders an HTML submit element.

Submit ( this html, String text, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString

Renders an HTML submit element.

비공개 메소드들

메소드 설명
LinkButtonHelper ( String text, String href, RouteValueDictionary htmlAttributes, bool isSubmit ) : System.Web.Mvc.MvcHtmlString
SubmitHelper ( String text, RouteValueDictionary htmlAttributes ) : System.Web.Mvc.MvcHtmlString

메소드 상세

HiddenSubmit() 공개 정적인 메소드

Renders an HTML submit element with HiddenSubmitCssClass CSS-class.
Hidden submit used for form submiting on enter press.
public static HiddenSubmit ( this html ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
리턴 System.Web.Mvc.MvcHtmlString

HiddenSubmit() 공개 정적인 메소드

Renders an HTML submit element with HiddenSubmitCssClass CSS-class.
Hidden submit used for form submiting on enter press.
public static HiddenSubmit ( this html, String text ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The submit text value.
리턴 System.Web.Mvc.MvcHtmlString

LinkButton() 공개 정적인 메소드

Renders an HTML link element styled as button.
public static LinkButton ( this html, String text ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
리턴 System.Web.Mvc.MvcHtmlString

LinkButton() 공개 정적인 메소드

Renders an HTML link element styled as button.
public static LinkButton ( this html, String text, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
htmlAttributes Object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

LinkButton() 공개 정적인 메소드

Renders an HTML link element styled as button with CSS-class specified.
public static LinkButton ( this html, String text, String href ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
href String The link href.
리턴 System.Web.Mvc.MvcHtmlString

LinkButton() 공개 정적인 메소드

Renders an HTML link element styled as button with CSS-class specified.
public static LinkButton ( this html, String text, String href, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
href String The link href.
htmlAttributes Object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

LinkSubmitButton() 공개 정적인 메소드

Renders an HTML link element styled as button.
public static LinkSubmitButton ( this html, String text ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
리턴 System.Web.Mvc.MvcHtmlString

LinkSubmitButton() 공개 정적인 메소드

Renders an HTML link element styled as button.
public static LinkSubmitButton ( this html, String text, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
htmlAttributes Object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

LinkSubmitButton() 공개 정적인 메소드

Renders an HTML link element styled as button with CSS-class specified.
public static LinkSubmitButton ( this html, String text, String href ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
href String The link href.
리턴 System.Web.Mvc.MvcHtmlString

LinkSubmitButton() 공개 정적인 메소드

Renders an HTML link element styled as button with CSS-class specified.
public static LinkSubmitButton ( this html, String text, String href, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The button text.
href String The link href.
htmlAttributes Object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

Submit() 공개 정적인 메소드

Renders an HTML submit element.
public static Submit ( this html, String text ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The submit text value.
리턴 System.Web.Mvc.MvcHtmlString

Submit() 공개 정적인 메소드

Renders an HTML submit element.
public static Submit ( this html, String text, Object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
html this The HTML helper instance that this method extends.
text String The submit text value.
htmlAttributes Object The HTML attributes.
리턴 System.Web.Mvc.MvcHtmlString

프로퍼티 상세

ButtonCssClass 공개적으로 정적으로 프로퍼티

Indicates link buttons.
public static String ButtonCssClass
리턴 String

EmptyHref 공개적으로 정적으로 프로퍼티

Empty javascript action (javascript:void(0);).
public static String EmptyHref
리턴 String

HiddenSubmitCssClass 공개적으로 정적으로 프로퍼티

Indicates hidden submit button.
public static String HiddenSubmitCssClass
리턴 String

SubmitButtonCssClass 공개적으로 정적으로 프로퍼티

Indicates link buttons that submits form.
public static String SubmitButtonCssClass
리턴 String