GrapeCity MultiRow Windows Forms Documentation
LengthUnit Property


Gets or sets the LengthUnit used to validate the text length.
Syntax
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates the unit used in validating the text length.")>
Public Property LengthUnit As LengthUnit
Dim instance As TextLengthValidator
Dim value As LengthUnit
 
instance.LengthUnit = value
 
value = instance.LengthUnit
[DefaultValue()]
[SRDescription("Indicates the unit used in validating the text length.")]
public LengthUnit LengthUnit {get; set;}

Property Value

The length unit. The default is LengthUnit.Char.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not a LengthUnit value.
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.