Method AddMaxLengthAttribute
| Improve this Doc View SourceAddMaxLengthAttribute(TagBuilder, Column)
Adds a maxlength attribute to the tagBuilder
.
Declaration
protected virtual void AddMaxLengthAttribute(TagBuilder tagBuilder, Column column)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Rendering.TagBuilder | tagBuilder | A Microsoft.AspNetCore.Mvc.Rendering.TagBuilder instance. |
Column | column | The column. |