C1.Web.Wijmo.Controls.C1Input Namespace > C1InputText Class : MaxLength Property |
'Declaration
<C1DescriptionAttribute(Key="C1Input.MaxLength", Description="Gets or sets the maximum number of characters allowed in the control.")> <System.ComponentModel.DefaultValueAttribute()> <WidgetOptionAttribute()> <C1CategoryAttribute("Behavior")> Public Property MaxLength As System.Integer
[C1Description(Key="C1Input.MaxLength", Description="Gets or sets the maximum number of characters allowed in the control.")] [System.ComponentModel.DefaultValue()] [WidgetOption()] [C1Category("Behavior")] public System.int MaxLength {get; set;}
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The value should not be negative. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2