[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.ValidationIsSame

ValidationIsSame Property

ValidationIsSame

Returns true if the validation options of all cells represented by this IRange are the same; otherwise, false is returned.

Declaration
bool ValidationIsSame { get; }
ReadOnly Property ValidationIsSame As Boolean
Examples
IRange range = worksheet.Range["A1:A2"];
range.Validation.Add(ValidationType.Whole, ValidationAlertStyle.Stop, ValidationOperator.Between, 1, 10);
bool validationIsSame = range.ValidationIsSame;