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


In This Topic
    ValidationExpression Class
    In This Topic
    Represents expressions that determine whether the evaluation succeeds or fails. Upon failure, a validation message explaining why the evaluation failed can be provided, which can then be displayed.
    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 ValidationExpression 
    'Usage
     
    Dim instance As ValidationExpression
    [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 ValidationExpression 
    Inheritance Hierarchy

    System.Object
       Xceed.Validation.ValidationExpression
          Xceed.Validation.ValidationCriterion

    Public Properties
     NameDescription
    Public PropertyGets or sets a string representing the reference ID of the criterion.  
    Public PropertyGets or sets an ValidationLevel value representing the moment at which validation will be performed.  
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets a collection of property names whose values have been explicitly set as well as the corresponding values.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns a boolean value indicating whether the validation expression can be evaluated.  
    Public MethodCreates a copy of this ValidationExpression object.  
    Public MethodLaunches the validation on the component.  
    Public MethodReturns the string representation of the validation expression.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRetrieves the value of the specified property in the Properties collection.  
    Protected MethodRetrieves a boolean value indicating whether the specified property has been explicitly set.  
    Protected MethodRemoves the specified property from the Properties collection.  
    Top
    Public Events
     NameDescription
    Public EventRaised when an expression has been disposed.  
    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