Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / DataValidationCollection Class
Members Example


In This Topic
    DataValidationCollection Class
    In This Topic
    Represents the collection of DataValidations found in the Worksheet.
    Object Model
    DataValidationCollection ClassDataValidation Class
    Syntax
    'Declaration
     
    
    <DefaultMemberAttribute("Item")>
    Public Class DataValidationCollection 
       Inherits WorksheetElement
    'Usage
     
    
    Dim instance As DataValidationCollection
    [DefaultMember("Item")]
    public class DataValidationCollection : WorksheetElement 
    Example
    doc.Worksheet[0].DataValidations.GetValidationResults();
    Inheritance Hierarchy

    System.Object
       Xceed.Workbooks.NET.WorkbookElement
          Xceed.Workbooks.NET.WorksheetElement
             Xceed.Workbooks.NET.DataValidationCollection

    Public Properties
     NameDescription
    Public PropertyGets the DataValidation corresponding to a specific index.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds a DataValidation to the Worksheet's DataValidationCollection.  
    Public MethodEmpties the DataValidationCollection by removing all DataValidations in the Worksheet.  
    Public Method  
    Public MethodOverloaded. Retrieves all DataValidations in a specific range.  
    Public Method  
    Public MethodGets all Cells that failed the DataValidation process in the current Worksheet.  
    Public MethodRemoves a specific DataValidation from the DataValidationCollection.  
    Public MethodRemoves all DataValidations found in a particular range.  
    Top
    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