InputTagHelper.Format Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Chaîne de format (voir https://msdn.microsoft.com/en-us/library/txafckwd.aspx) utilisée pour mettre en forme le For résultat. Définit l’attribut « value » généré sur cette chaîne mise en forme.
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
Valeur de propriété
- Attributs
Remarques
Non utilisé si la valeur de l’attribut « type » fournie (voir InputTypeName) ou calculée est checkbox
, password
ou radio
. Autrement dit, Format est utilisé lors de l’appel GenerateTextBox(ViewContext, ModelExplorer, String, Object, String, Object)de .
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour