Table of Contents

Property Validations

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

Validations

Gets the sheet's data validation: the rules Excel's Data Validation sets, each with the cells it covers, to list, add, change and remove, and to ask whether a value would be accepted.

public XlsxDataValidations Validations { get; }

Property Value

XlsxDataValidations

Remarks

The list is live: it reads the sheet's part as it is now and the edits made since.

Exceptions

InvalidOperationException

The sheet is not a worksheet (reading or changing the list).