MaxLengthAttribute class
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
Public Members
name | description |
---|---|
MaxLengthAttribute(…) | Initializes a new instance of the MaxLengthAttribute class. |
MaxLength { get; } | Gets the maximum length. |
See Also
- Source: MaxLengthAttribute.cs