InputTagHelper.Format Propiedad

Definición

Cadena de formato (vea https://msdn.microsoft.com/en-us/library/txafckwd.aspx) usada para dar formato al For resultado. Establece el atributo "value" generado en esa cadena con formato.

public:
 property System::String ^ Format { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-format")]
public string Format { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-format")>]
member this.Format : string with get, set
Public Property Format As String

Valor de propiedad

String
Atributos

Comentarios

No se usa si el valor de atributo proporcionado (vea InputTypeName) o el valor de atributo calculado "type" es la casilla, la contraseña o la radio. Es decir, Format se usa al llamar a GenerateTextBox(ViewContext, ModelExplorer, String, Object, String, Object).

Se aplica a