---
title: "MainWeb.PresetStyle"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb/mainweb/presetstyle/"
product: "Aspose.Cells for .NET API Reference"
description: "MainWeb property. Gets or sets the preset style"
---

## MainWeb.PresetStyle property

Gets or sets the preset style.

```csharp
public PresetStyle PresetStyle { get; set; }
```

### Examples

```csharp
[C#]
	GridWeb1.PresetStyle = PresetStyle.Traditional1;

[Visual Basic]
	GridWeb1.PresetStyle = PresetStyle.Traditional1
```

### See Also

* enum [PresetStyle](../../presetstyle/)
* class [MainWeb](../)
* namespace [Aspose.Cells.GridWeb](../../../aspose.cells.gridweb/)
* assembly [Aspose.Cells.GridWeb](../../../)


