Version

FindRule(WorksheetCell) Method

Find the data validation rule applied to the specified cell.
Syntax
public DataValidationRule FindRule( 
   WorksheetCell cell
)

Parameters

cell
The cell to test.

Return Value

A DataValidationRule-derived instance or null if the cell has no rule applied.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when cell is null.
System.ArgumentExceptionOccurs when the cell is from a worksheet other than this collection.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also