GridValidationCollection.Add
Contents
[
Hide
]Add(GridValidation)
Add a GridValidation
to the collection.
public int Add(GridValidation validation)
Parameter | Type | Description |
---|---|---|
validation | GridValidation | A validation object. |
Return Value
GridValidation
object index.
See Also
- class GridValidation
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add()
Add a GridValidation
to the collection.
public GridValidation Add()
Return Value
GridValidation
the added GridValidation instance.
See Also
- class GridValidation
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add(string)
Add a GridValidation
to the collection.the validation is applied to the specificed cell.
public GridValidation Add(string cellname)
Parameter | Type | Description |
---|---|---|
cellname | String | the name of the cell. |
Return Value
GridValidation
the added GridValidation instance.
See Also
- class GridValidation
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add(int, int)
Add a GridValidation
to the collection.the validation is applied to the specificed cell.
public GridValidation Add(int row, int col)
Parameter | Type | Description |
---|---|---|
row | Int32 | Row index of cell. |
col | Int32 | Column index of cell. |
Return Value
GridValidation
the added GridValidation instance.
See Also
- class GridValidation
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add(string, bool, string)
Adds a validation to a specified cell by cell name.
public void Add(string cellName, bool isRequired, string regEx)
Parameter | Type | Description |
---|---|---|
cellName | String | Name of grid cell. |
isRequired | Boolean | Value indicating whether cell value is required. |
regEx | String | Regular expression. |
See Also
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add(int, int, ICustomValidation)
Adds a validation to a specified cell at row column index.
public void Add(int row, int col, ICustomValidation customValidation)
Parameter | Type | Description |
---|---|---|
row | Int32 | Row index of cell. |
col | Int32 | Column index of cell. |
customValidation | ICustomValidation | Custom validaton object. |
See Also
- interface ICustomValidation
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add(int, int, bool, string)
Adds a validation to a specified cell at row column index.
public void Add(int row, int col, bool isRequired, string regEx)
Parameter | Type | Description |
---|---|---|
row | Int32 | Row index of cell. |
col | Int32 | Column index of cell. |
isRequired | Boolean | Value indicating whether cell value is required. |
regEx | String | Regular expression. |
See Also
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
Add(string, ICustomValidation)
Adds a validation to a specified cell by cell name.
public void Add(string cellName, ICustomValidation customValidation)
Parameter | Type | Description |
---|---|---|
cellName | String | Name of grid cell. |
customValidation | ICustomValidation | Custom validaton object. |
See Also
- interface ICustomValidation
- class GridValidationCollection
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop