InputTagHelper.InputTypeName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The type of the <input> element.
public:
property System::String ^ InputTypeName { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("type")]
public string InputTypeName { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("type")>]
member this.InputTypeName : string with get, set
Public Property InputTypeName As String
Property Value
- Attributes
Remarks
Passed through to the generated HTML in all cases. Also used to determine the IHtmlGenerator helper to call and the default Format value. A default Format is not calculated if the provided (see InputTypeName) or calculated "type" attribute value is checkbox
, hidden
, password
, or radio
.