Method GenerateInput
| Improve this Doc View SourceGenerateInput(ViewContext, InputType, String, Column, Object, Boolean, Boolean, Boolean, String, IDictionary<String, Object>)
Generates <input...> element.
Declaration
protected virtual TagBuilder GenerateInput(ViewContext viewContext, InputType inputType, string fullHtmlFieldName, Column column, object value, bool isChecked, bool setId, bool isExplicitValue, string format, IDictionary<string, object> htmlAttributes)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Rendering.ViewContext | viewContext | The view context. |
Microsoft.AspNetCore.Mvc.ViewFeatures.InputType | inputType | The input type. |
System.String | fullHtmlFieldName | The full html field name. |
Column | column | The column. |
System.Object | value | The data value. |
System.Boolean | isChecked | Indicates whether this input is checked. |
System.Boolean | setId | Indicates whether id should be set. |
System.Boolean | isExplicitValue | Indicates whether this value is explicit. |
System.String | format | The string format. |
System.Collections.Generic.IDictionary<System.String, System.Object> | htmlAttributes | The HTML attributes dictionary. |
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.Rendering.TagBuilder | The tag builder. |