InputExtensions Methods

 

Namespace:   System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CheckBox(HtmlHelper, String)

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

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static Hidden(HtmlHelper, String)

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

System_CAPS_pubmethodSystem_CAPS_static Hidden(HtmlHelper, String, Object)

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

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static Password(HtmlHelper, String)

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

System_CAPS_pubmethodSystem_CAPS_static Password(HtmlHelper, String, Object)

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

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static RadioButton(HtmlHelper, String, Object)

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

System_CAPS_pubmethodSystem_CAPS_static RadioButton(HtmlHelper, String, Object, Boolean)

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

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

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

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

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

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

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

System_CAPS_pubmethodSystem_CAPS_static RadioButton(HtmlHelper, String, Object, Object)

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

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static TextBox(HtmlHelper, String)

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

System_CAPS_pubmethodSystem_CAPS_static TextBox(HtmlHelper, String, Object)

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

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static TextBox(HtmlHelper, String, Object, String)

Returns a text input element.

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

Returns a text input element.

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

Returns a text input element.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

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

Returns a text input element.

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

Returns a text input element.

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

Returns a text input element.

See Also

InputExtensions Class
System.Web.Mvc.Html Namespace

Return to top