public class GridValidationCollection
extends java.lang.Object
GridValidation objects.| Modifier and Type | Method and Description |
|---|---|
GridValidation |
add()
Deprecated.
Use GridValidationCollection.Add(row,col) method instead.
|
GridValidation |
add(GridCellArea ca)
Adds a data validation to the collection.
|
int |
add(GridValidation validation)
Add a
GridValidation to the collection. |
GridValidation |
add(int row,
int column)
Add a
GridValidation to the collection.the validation is applied to the specificed cell. |
GridValidation |
add(java.lang.String cellname)
Add a
GridValidation to the collection.the validation is applied to the specificed cell. |
void |
clear()
Clears all validations.
|
GridValidation |
get(int index)
Gets the
GridValidation element at the specified index. |
int |
getCount()
Gets the size of enumerator
|
GridValidation |
getValidationInCell(int row,
int column)
Gets the validation applied to given cell.
|
void |
removeAt(int index)
Remove the validation at the specified index.
|
public int add(GridValidation validation)
GridValidation to the collection.validation - A validation object.GridValidation object index.public GridValidation add()
GridValidation to the collection.
Remarks
NOTE: This member is now obsolete. Instead, please use GridValidationCollection.Add(row,col) method. This property will be removed 12 months later since JANUARY 2015. Aspose apologizes for any inconvenience you may have experienced.GridValidation the added GridValidation instance.public GridValidation add(GridCellArea ca)
ca - The area contains this validation.GridValidation the validation.public GridValidation add(java.lang.String cellname)
GridValidation to the collection.the validation is applied to the specificed cell.cellname - the name of the cell.GridValidation the added GridValidation instance.public GridValidation add(int row, int column)
GridValidation to the collection.the validation is applied to the specificed cell.row - The row index.column - The column index.GridValidation the added GridValidation instance.public GridValidation getValidationInCell(int row, int column)
row - The row index.column - The column index.GridValidation object or null if there is no validation for given cellpublic void clear()
public void removeAt(int index)
index - The zero based index of the element.public GridValidation get(int index)
GridValidation element at the specified index.index - The zero based index of the element.public int getCount()
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.