Search Results for

    Show / Hide Table of Contents

    XlsFile.DataValidationCount Property

    Returns the number of DataValidation structures in the active sheet. There are 2 ways you can access the data validation information on a sheet:

    1. If you know the row and column where you want to look, you can use ExcelFile.GetDataValidation(Int32, Int32) to return the data validation in the cell.
    2. If you want to find out all data validation structures in the sheet, you can use ExcelFile.DataValidationCount, ExcelFile.GetDataValidationInfo and ExcelFile.GetDataValidationRanges to loop over all existing data validations.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public override Int32 DataValidationCount { get; }

    See also

    • XlsFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com