InputExtensions Class

Definition

Represents support for HTML input controls in an application.

public static class InputExtensions
type InputExtensions = class
Public Module InputExtensions
Inheritance
InputExtensions

Methods

CheckBox(HtmlHelper, String)

Returns a check box input element by using the specified HTML helper and the name of the form field.

CheckBox(HtmlHelper, String, Boolean)

Returns a check box input element by using the specified HTML helper, the name of the form field, and a value to indicate whether the check box is selected.

CheckBox(HtmlHelper, String, Boolean, IDictionary<String,Object>)

Returns a check box input element by using the specified HTML helper, the name of the form field, a value to indicate whether the check box is selected, and the HTML attributes.

CheckBox(HtmlHelper, String, Boolean, Object)

Returns a check box input element by using the specified HTML helper, the name of the form field, a value that indicates whether the check box is selected, and the HTML attributes.

CheckBox(HtmlHelper, String, IDictionary<String,Object>)

Returns a check box input element by using the specified HTML helper, the name of the form field, and the HTML attributes.

CheckBox(HtmlHelper, String, Object)

Returns a check box input element by using the specified HTML helper, the name of the form field, and the HTML attributes.

CheckBoxFor<TModel>(HtmlHelper<TModel>, Expression<Func<TModel,Boolean>>)

Returns a check box input element for each property in the object that is represented by the specified expression.

CheckBoxFor<TModel>(HtmlHelper<TModel>, Expression<Func<TModel,Boolean>>, IDictionary<String,Object>)

Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

CheckBoxFor<TModel>(HtmlHelper<TModel>, Expression<Func<TModel,Boolean>>, Object)

Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

Hidden(HtmlHelper, String)

Returns a hidden input element by using the specified HTML helper and the name of the form field.

Hidden(HtmlHelper, String, Object)

Returns a hidden input element by using the specified HTML helper, the name of the form field, and the value.

Hidden(HtmlHelper, String, Object, IDictionary<String,Object>)

Returns a hidden input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.

Hidden(HtmlHelper, String, Object, Object)

Returns a hidden input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.

HiddenFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>)

Returns an HTML hidden input element for each property in the object that is represented by the specified expression.

HiddenFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>)

Returns an HTML hidden input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

HiddenFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object)

Returns an HTML hidden input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

Password(HtmlHelper, String)

Returns a password input element by using the specified HTML helper and the name of the form field.

Password(HtmlHelper, String, Object)

Returns a password input element by using the specified HTML helper, the name of the form field, and the value.

Password(HtmlHelper, String, Object, IDictionary<String,Object>)

Returns a password input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.

Password(HtmlHelper, String, Object, Object)

Returns a password input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.

PasswordFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>)

Returns a password input element for each property in the object that is represented by the specified expression.

PasswordFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>)

Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

PasswordFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object)

Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

RadioButton(HtmlHelper, String, Object)

Returns a radio button input element that is used to present mutually exclusive options.

RadioButton(HtmlHelper, String, Object, Boolean)

Returns a radio button input element that is used to present mutually exclusive options.

RadioButton(HtmlHelper, String, Object, Boolean, IDictionary<String,Object>)

Returns a radio button input element that is used to present mutually exclusive options.

RadioButton(HtmlHelper, String, Object, Boolean, Object)

Returns a radio button input element that is used to present mutually exclusive options.

RadioButton(HtmlHelper, String, Object, IDictionary<String,Object>)

Returns a radio button input element that is used to present mutually exclusive options.

RadioButton(HtmlHelper, String, Object, Object)

Returns a radio button input element that is used to present mutually exclusive options.

RadioButtonFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object)

Returns a radio button input element for each property in the object that is represented by the specified expression.

RadioButtonFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object, IDictionary<String,Object>)

Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

RadioButtonFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object, Object)

Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

TextBox(HtmlHelper, String)

Returns a text input element by using the specified HTML helper and the name of the form field.

TextBox(HtmlHelper, String, Object)

Returns a text input element by using the specified HTML helper, the name of the form field, and the value.

TextBox(HtmlHelper, String, Object, IDictionary<String,Object>)

Returns a text input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.

TextBox(HtmlHelper, String, Object, Object)

Returns a text input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes.

TextBox(HtmlHelper, String, Object, String)

Returns a text input element.

TextBox(HtmlHelper, String, Object, String, IDictionary<String,Object>)

Returns a text input element.

TextBox(HtmlHelper, String, Object, String, Object)

Returns a text input element.

TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>)

Returns a text input element for each property in the object that is represented by the specified expression.

TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>)

Returns a text input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object)

Returns a text input element for each property in the object that is represented by the specified expression, using the specified HTML attributes.

TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, String)

Returns a text input element.

TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, String, IDictionary<String,Object>)

Returns a text input element.

TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, String, Object)

Returns a text input element.

Applies to