Input for WinForms | ComponentOne
C1.Win.Input.Validation Namespace / PreValidation Class
Properties Methods Events


In This Topic
    PreValidation Class Members
    In This Topic

    The following tables list the members exposed by PreValidation.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether string comparisons are case-sensitive.  
    Public PropertyGets the collection of user-defined characters to use in a wildcard pattern.  
    Public PropertyGets or sets error message shown in the standard message box and/or in the exception.  
    Public PropertyManages inheritance of the PreValidation properties from the host control properties.  
    Public PropertyGets or sets string separating list items in PatternString.  
    Public PropertyGets or sets string containing the validation pattern.  
    Public PropertyGets or sets settings affecting regular expression matching.  
    Public PropertyGets or sets a value indicating whether trailing spaces are removed before validation.  
    Public PropertyGets or sets a value indicating whether leading spaces are removed before validation.  
    Public PropertyGets or sets a value indicating the validation method.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns True if the input text matches one of the exact list items specified in PatternString.  
    Public MethodReturns True if the input text matches the regular expression pattern specified in PatternString.  
    Public MethodReturns True if the input text matches the specified wildcard pattern passed as argument.  
    Public MethodReturns True if the input text matches at least one of the wildcard patterns specified in PatternString.  
    Public MethodResets whole PreValidation property of base control  
    Public MethodReturns True if the text successfully passes validation using the current settings of the PreValidation object.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRaises the Validated event.  
    Protected MethodRaises the Validating event.  
    Protected MethodRestores the default value of the CaseSensitive property.  
    Protected MethodRestores the default value of the CustomPlaceholders property.  
    Protected MethodRestores the default value of the ErrorMessage property.  
    Protected MethodRestores the default value of the TrimEnd property.  
    Protected MethodRestores the default value of the TrimStart property.  
    Protected MethodSpecifies whether to save the value of the CaseSensitive property.  
    Protected MethodSpecifies whether to save the value of the CustomPlaceholders property.  
    Protected MethodSpecifies whether to save the value of the ErrorMessage property.  
    Protected MethodSpecifies whether to save the value of the TrimEnd property.  
    Protected MethodSpecifies whether to save the value of the TrimStart property.  
    Top
    Public Events
     NameDescription
    Public EventOccurs after the input string value has been validated.  
    Public EventOccurs when programmatic input string validating.  
    Top
    See Also