[]
Gets or sets the LengthUnit used to validate the text length.
public LengthUnit LengthUnit { get; set; }
Public Property LengthUnit As LengthUnit
| Type | Description |
|---|---|
| LengthUnit | The length unit. The default is Char. |
| Type | Condition |
|---|---|
| InvalidEnumArgumentException | The assigned value is not a LengthUnit value. |