Method SetValidator
SetValidator(Type?, bool)
Sets DataType to the specified type and and CharValidator to the appropriate validator provider.
public virtual void SetValidator(Type? type, bool charValidator)
Parameters
typeTypeNew DataType property value.
charValidatorboolWhether to create and assign appropriate char validator or assign CharValidator to Null.