Property Format
| Improve this Doc View SourceFormat
The format string used to format the DataValue result. Sets the generated "value" attribute to that formatted string.
Declaration
[HtmlAttributeName("dataset-format")]
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Not used if the provided (see InputTypeName) or calculated "type" attribute value is
checkbox
, password
, or radio
. That is, Format is used when calling
Microsoft.AspNetCore.Mvc.ViewFeatures.IHtmlGenerator.GenerateTextBox(Microsoft.AspNetCore.Mvc.Rendering.ViewContext,Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer,System.String,System.Object,System.String,System.Object).