InputTagHelper.InputTypeName 属性

定义

输入>元素的类型<。

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

属性值

属性

注解

在所有情况下传递到生成的 HTML。 还用于确定要调用的 IHtmlGenerator 帮助程序以及默认值 Format 。 如果提供的 (看到 InputTypeName) 或计算的“type”属性值为 checkboxhiddenpasswordradio,则不计算默认值Format

适用于