## ICustomValidation.Validate method

Validate a gridcell's data is valid or not.

```csharp
public bool Validate(Worksheet worksheet, int row, int col, object value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| worksheet | Worksheet | Worksheet object. |
| row | Int32 | Row index. |
| col | Int32 | Column index. |
| value | Object | Value to be validated. |

### Return Value

True is valid, false is invalid.

### See Also

* class [Worksheet](../../worksheet/)
* interface [ICustomValidation](../)
* namespace [Aspose.Cells.GridDesktop](../../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../../)


