InputTagHelper.InputTypeName Property

Definition

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.

Applies to