namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets the maximum length of an editor attached to the target property.
[AttributeUsage(AttributeTargets.All)]
public class MaxLengthAttribute : Attribute
name | description |
---|---|
MaxLengthAttribute(…) | Initializes a new instance of the MaxLengthAttribute class. |
MaxLength { get; } | Gets the maximum length. |
- Source: MaxLengthAttribute.cs