GrapeCity MultiRow Windows Forms Documentation
MaximumLength Property


Gets or sets the maximum length of the text.
Syntax
<SRDescriptionAttribute("Indicates the maximum length of the text.")>
<DefaultValueAttribute()>
Public Property MaximumLength As Integer
Dim instance As TextLengthValidator
Dim value As Integer
 
instance.MaximumLength = value
 
value = instance.MaximumLength
[SRDescription("Indicates the maximum length of the text.")]
[DefaultValue()]
public int MaximumLength {get; set;}

Property Value

The maximum length. The default is System.Int32.MaxValue.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe assigned value is less than MinimumLength.
Requirements

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

See Also

Reference

TextLengthValidator Class
TextLengthValidator Members

 

 


Copyright © GrapeCity, inc. All rights reserved.