## GridCell.CopyStyle method

copy the style and set the style for the cell

```csharp
public void CopyStyle(GridTableItemStyle style)
```

| Parameter | Type | Description |
| --- | --- | --- |
| style | GridTableItemStyle | The source style. |

### Return Value

Style object.

### See Also

* class [GridTableItemStyle](../../../aspose.cells.gridweb/gridtableitemstyle/)
* class [GridCell](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


