C# Class Project.Web.App.Helpers.HtmlHelpers_Forms

Exibir arquivo Open project: tylermercier/mvc_template

Public Methods

Method Description
CheckBoxField ( this html, object id, object text ) : IHtmlString
CreateField ( this html, string title, IHtmlString input, IHtmlString validation = null ) : IHtmlString
DisabledCheckBox ( this html, object text, int size = 30 ) : IHtmlString
DisabledTextArea ( this html, object text, int rows = 3 ) : IHtmlString
DisabledTextInput ( this html, object text, int size = 30 ) : IHtmlString
PasswordInput ( this html, string id, int size = 30 ) : IHtmlString
Span ( this html, string text ) : IHtmlString
Text ( this html, string text ) : IHtmlString
TextInput ( this html, string id, string text = "", int size = 30 ) : IHtmlString

Method Details

CheckBoxField() public static method

public static CheckBoxField ( this html, object id, object text ) : IHtmlString
html this
id object
text object
return IHtmlString

CreateField() public static method

public static CreateField ( this html, string title, IHtmlString input, IHtmlString validation = null ) : IHtmlString
html this
title string
input IHtmlString
validation IHtmlString
return IHtmlString

DisabledCheckBox() public static method

public static DisabledCheckBox ( this html, object text, int size = 30 ) : IHtmlString
html this
text object
size int
return IHtmlString

DisabledTextArea() public static method

public static DisabledTextArea ( this html, object text, int rows = 3 ) : IHtmlString
html this
text object
rows int
return IHtmlString

DisabledTextInput() public static method

public static DisabledTextInput ( this html, object text, int size = 30 ) : IHtmlString
html this
text object
size int
return IHtmlString

PasswordInput() public static method

public static PasswordInput ( this html, string id, int size = 30 ) : IHtmlString
html this
id string
size int
return IHtmlString

Span() public static method

public static Span ( this html, string text ) : IHtmlString
html this
text string
return IHtmlString

Text() public static method

public static Text ( this html, string text ) : IHtmlString
html this
text string
return IHtmlString

TextInput() public static method

public static TextInput ( this html, string id, string text = "", int size = 30 ) : IHtmlString
html this
id string
text string
size int
return IHtmlString