Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Cell Class / GetValidationResult Method
Example


In This Topic
    GetValidationResult Method
    In This Topic
    Gets the result of the DataValidation process. 
    Syntax
    'Declaration
     
    
    Public Function GetValidationResult() As Boolean
    'Usage
     
    
    Dim instance As Cell
    Dim value As Boolean
     
    value = instance.GetValidationResult()
    public bool GetValidationResult()
    Remarks
    Returns true if the Cell's Value is valid; returns false otherwise.
    Note that true will also be returned if there is no DataValidation associated with the Cell
    Example
    Gets the result of the DataValidation process for a particular Cell.
    doc.Worksheet[0].Cells["B3"].GetValidationResult();
    Requirements

    Target Platforms: Windows 11, Windows 10, 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