InputExtensions.Hidden Method
Include Protected Members
Include Inherited Members
Returns a hidden input element.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
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. |
Top
Remarks
The difference between calling the Hidden method and using an input element is that the Hidden method is designed to make it easy to bind to view data or model data.