[]
Validating the typed value after parsing, after the input string has been converted to the DataType.
[TypeConverter(typeof(GenericInheritConverter))]
public class PostValidation : MarshalByRefObject, IDisposable
Name | Description |
---|---|
AllowDbNull | Determines whether it is possible to enter DbNull value in the control. |
CaseSensitive | True if string comparisons are case-sensitive; otherwise, False. |
ErrorMessage | Error message shown in the standard message box and/or in the exception. |
Inherit | Manages inheritance of the PostValidation properties from the host control properties. |
Intervals | Collection of intervals. The input value must belong to one of these intervals. |
Validation | Validation method. |
Values | Predefined values used for matching the input value. |
ValuesExcluded | List of values that are not permitted as input value. |
Name | Description |
---|---|
Reset() | Resets whole PostValidation property of base control |
ResetCaseSensitive() | This method is for internal use only. |
ResetErrorMessage() | This method is for internal use only. |
ShouldSerializeCaseSensitive() | This method is for internal use only. |
ShouldSerializeErrorMessage() | This method is for internal use only. |
ShouldSerializeIntervals() | This method is for internal use only. |
ShouldSerializeValues() | This method is for internal use only. |
ShouldSerializeValuesExcluded() | This method is for internal use only. |
Validate(object, ErrorInfo) | Performs validation using the current settings of the PostValidation object. Returns true if vaidation was successful. |
ValidateValuesAndIntervals(object, ErrorInfo) | Performs validation of the value against the collections of Values, ValuesExcluded and Intervals. |