Class GridValidationCollection

GridValidationCollection class

Encapsulates a collection of GridValidation objects.

public class GridValidationCollection

Properties

NameDescription
Count { get; }Gets the size of enumerator
Item { get; }Gets the GridValidation element at the specified index.

Methods

NameDescription
Add()(Obsolete.) Add a GridValidation to the collection.
Add(GridCellArea)Adds a data validation to the collection.
Add(GridValidation)Add a GridValidation to the collection.
Add(string)Add a GridValidation to the collection.the validation is applied to the specificed cell.
Add(int, int)Add a GridValidation to the collection.the validation is applied to the specificed cell.
Clear()Clears all validations.
GetValidationInCell(int, int)Gets the validation applied to given cell.
RemoveAt(int)Remove the validation at the specified index.

See Also