Class StringLengthValidationRule
ValidationRule stating that a maximum length of a string has been exceeded.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class StringLengthValidationRule : ValidationRule
Constructors
StringLengthValidationRule(int, int)
Default constructor.
Declaration
public StringLengthValidationRule(int maxLength, int actualLength)
Parameters
| Type | Name | Description |
|---|---|---|
| int | maxLength | Maximum length of the string. |
| int | actualLength | Actual length of the string. |
Properties
ActualLength
Actual length of the string.
Declaration
public int ActualLength { get; }
Property Value
| Type | Description |
|---|---|
| int |
MaxLength
Maximum length of the string
Declaration
public int MaxLength { get; }
Property Value
| Type | Description |
|---|---|
| int |