Xceed Grid for WinForms v4.3 Documentation
Xceed.Validation.v1.3 Assembly / Xceed.Validation Namespace / ValidationCriterion Class
Members


In This Topic
    ValidationCriterion Class
    In This Topic
    Abstract base class of a validation expression containing a single criterion.
    Syntax
    'Declaration
     
    <TypeConverterAttribute("Xceed.Validation.Design.ValidationExpressionConverter,Xceed.Validation.v1.3.Design,Version=1.3.25455.6282,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <DesignTimeVisibleAttribute(False)>
    <ToolboxItemAttribute(False)>
    Public MustInherit Class ValidationCriterion 
       Inherits ValidationExpression
    'Usage
     
    Dim instance As ValidationCriterion
    [TypeConverter("Xceed.Validation.Design.ValidationExpressionConverter,Xceed.Validation.v1.3.Design,Version=1.3.25455.6282,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [DesignTimeVisible(false)]
    [ToolboxItem(false)]
    public abstract class ValidationCriterion : ValidationExpression 
    Inheritance Hierarchy

    System.Object
       Xceed.Validation.ValidationExpression
          Xceed.Validation.ValidationCriterion
             Xceed.Validation.DataTypeCriterion
             Xceed.Validation.RegularExpressionCriterion

    Public Properties
     NameDescription
    Public PropertyGets or sets a boolean value indicating whether the criterion is case sensitive.  
    Public PropertyGets or sets a string that substitutes name variable in error messages to define the criterion.  
    Public PropertyGets or sets the custom message text used in error messages for this criterion.  
    Public PropertyGets or sets a string representing the reference ID of the criterion. (Inherited from Xceed.Validation.ValidationExpression)
    Public PropertyGets or sets a boolean value indicating whether whitepace characters should be trimmed from the control's value before testing with the criterion.  
    Public PropertyGets or sets an ValidationLevel value representing the moment at which validation will be performed. (Inherited from Xceed.Validation.ValidationExpression)
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets a collection of property names whose values have been explicitly set as well as the corresponding values. (Inherited from Xceed.Validation.ValidationExpression)
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Returns a boolean value indicating whether the validation expression can be evaluated.  
    Public MethodCreates a copy of this ValidationExpression object. (Inherited from Xceed.Validation.ValidationExpression)
    Public MethodLaunches the validation on the component. (Inherited from Xceed.Validation.ValidationExpression)
    Public MethodReturns the string representation of the validation expression. (Inherited from Xceed.Validation.ValidationExpression)
    Top
    Protected Methods
     NameDescription
    Protected MethodRetrieves the value of the specified property in the ValidationExpression.Properties collection. (Inherited from Xceed.Validation.ValidationExpression)
    Protected MethodRetrieves a boolean value indicating whether the specified property has been explicitly set. (Inherited from Xceed.Validation.ValidationExpression)
    Protected MethodRemoves the specified property from the ValidationExpression.Properties collection. (Inherited from Xceed.Validation.ValidationExpression)
    Top
    Public Events
     NameDescription
    Public EventRaised when an expression has been disposed. (Inherited from Xceed.Validation.ValidationExpression)
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also