Class ValueValidatorFactory
Provides static methods related to control validators.
public class ValueValidatorFactory
- Inheritance
-
ValueValidatorFactory
Remarks
Creates IValueValidator instances.
Properties
- BellOnError
Gets or sets whether to play error sound. An opposite of IsSilent.
- DecimalValidator
Gets validator for decimal numbers;
- Default
Gets or sets default implementation of the ValueValidatorFactory.
- IsSilent
Gets or sets whether error sound produced by the validators if an invalid key is pressed is currently disabled.
Methods
- CreateValidator(ValueValidatorKind)
Creates IValueValidatorText instance with the specified kind.
- CreateValidator(TypeCode)
Creates IValueValidatorText instance with the specified TypeCode.
- CreateValueValidatorNum(ValueValidatorNumStyle, int)
Creates IValueValidatorText instance for the numeric properties.
- CreateValueValidatorText(ValueValidatorTextStyle)
Creates IValueValidatorText instance.