# SheetControlOptions Class

> SheetControlOptions class in the .NET API: Mount settings for one browser editor; license, capacities and dashboard policy stay fixed until it is recreated.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Blazor`
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Blazor.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Implements:** `System.IEquatable<TXTextControl.TXSheetControl.Blazor.SheetControlOptions>`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Blazor > SheetControlOptions Class
- **1503 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/llms-full.txt

---

Mount settings for one browser editor. License, capacities and dashboard policy are fixed until the component is recreated.

### Syntax

```csharp
public class SheetControlOptions
```

### Members

| Member | Description |
|---|---|
| [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/constructor/llms-full.txt) | Creates SheetControlOptions settings or event data for the component. |
| [Areas](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/areas-property/llms-full.txt) | Editor chrome visibility, retained across workbook loads. |
| [AutoExpand](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/autoexpand-property/llms-full.txt) | Whether the worksheet can grow when users edit or scroll. |
| [Columns](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/columns-property/llms-full.txt) | Initial worksheet column capacity. |
| [DashboardMode](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/dashboardmode-property/llms-full.txt) | Editor or viewer hosting policy, independent of saved document data. |
| [FontBaseURL](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/fontbaseurl-property/llms-full.txt) | Optional URL prefix for relative font resources. |
| [FontCatalogURL](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/fontcatalogurl-property/llms-full.txt) | Optional runtime catalog URL, resolved relative to the application's base URI. |
| [HighlightDependents](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/highlightdependents-property/llms-full.txt) | Brief screen-only feedback for formula dependents. |
| [Language](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/language-property/llms-full.txt) | Interface language, independent of the cell formatting locale. |
| [License](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/license-property/llms-full.txt) | Store-issued license string, verified by the existing browser reader before Ready. |
| [Locale](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/locale-property/llms-full.txt) | Initial number and date formatting locale. |
| [MaxColumns](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/maxcolumns-property/llms-full.txt) | Maximum column capacity when automatic growth is enabled. |
| [MaxRows](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/maxrows-property/llms-full.txt) | Maximum row capacity when automatic growth is enabled. |
| [Resources](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/resources-property/llms-full.txt) | Per-editor localized resource overrides. |
| [Ribbon](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/ribbon-property/llms-full.txt) | Screen-only ribbon density, display mode and built-in item policies. |
| [Rows](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/rows-property/llms-full.txt) | Initial worksheet row capacity, independent of populated rows. |
| [Theme](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/theme-property/llms-full.txt) | Automatic, light or dark appearance: auto, light, dark. |
| [UserName](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/username-property/llms-full.txt) | Comment author used for new comments. |
| [ViewMode](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/viewmode-property/llms-full.txt) | Normal or page-layout worksheet presentation. |
| [Zoom](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/zoom-property/llms-full.txt) | Worksheet zoom in percent, from 25 to 400. |

### Examples

Configure the `Options` parameter before mounting the component. `license` is the unchanged store-issued license string.

```csharp
var options = new SheetControlOptions
{
    License = license,
    Rows = 2000, Columns = 20, AutoExpand = true, MaxRows = 10000, MaxColumns = 100,
    DashboardMode = "editor", ViewMode = "normal", Theme = "dark", Language = "en",
    Locale = "en-US", UserName = "Alex", Zoom = 125, HighlightDependents = true,
    FontCatalogURL = "fonts/catalog.json", FontBaseURL = "fonts/",
    Areas = new() { Ribbon = true, FormulaBar = true, SheetTabs = true, StatusBar = false },
    Ribbon = new()
    {
        Layout = "compact", DisplayMode = "expanded",
        Tabs = new Dictionary<string, RibbonItemOptions> { ["review"] = new() { Visible = true } },
        Groups = new Dictionary<string, RibbonItemOptions> { ["home.font"] = new() { Enabled = true } },
        Buttons = new Dictionary<string, RibbonItemOptions> { ["home.font.bold"] = new() { Enabled = false } }
    },
    Resources = new Dictionary<string, string> { ["ribbon.home"] = "Home" }
};
```

### Remarks

Use the component only after interactive rendering. Browser document operations execute in the editor through JavaScript interop. Completed notifications cannot synchronously cancel edits.

### See Also

- [Blazor Tutorial](https://docs.textcontrol.com/tx-sheet-control/getting-started/spreadsheet-editor/blazor/llms-full.txt).

---

## In This Section

- [SheetControlOptions.Areas Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/areas-property/llms-full.txt): SheetControlOptions.Areas property in the TX Sheet Control .NET API: Editor chrome visibility, retained across workbook loads.
- [SheetControlOptions.AutoExpand Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/autoexpand-property/llms-full.txt): SheetControlOptions.AutoExpand property in the TX Sheet Control .NET API: Whether the worksheet can grow when users edit or scroll.
- [SheetControlOptions.Columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/columns-property/llms-full.txt): SheetControlOptions.Columns property in the TX Sheet Control .NET API: Initial worksheet column capacity, a mount setting changed only with a new component key.
- [SheetControlOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/constructor/llms-full.txt): SheetControlOptions constructor in the TX Sheet Control .NET API: Creates SheetControlOptions for configuring the browser spreadsheet component.
- [SheetControlOptions.DashboardMode Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/dashboardmode-property/llms-full.txt): SheetControlOptions.DashboardMode property in the TX Sheet Control .NET API: Editor or viewer hosting policy, independent of saved document data.
- [SheetControlOptions.FontBaseURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/fontbaseurl-property/llms-full.txt): SheetControlOptions.FontBaseURL property in the TX Sheet Control .NET API: Optional URL prefix for relative font resources.
- [SheetControlOptions.FontCatalogURL Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/fontcatalogurl-property/llms-full.txt): SheetControlOptions.FontCatalogURL property in the TX Sheet Control .NET API: Optional runtime catalog URL, resolved relative to the application's base URI.
- [SheetControlOptions.HighlightDependents Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/highlightdependents-property/llms-full.txt): SheetControlOptions.HighlightDependents property in the TX Sheet Control .NET API: Brief screen-only feedback for formula dependents.
- [SheetControlOptions.Language Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/language-property/llms-full.txt): SheetControlOptions.Language property in the TX Sheet Control .NET API: Interface language, independent of the cell formatting locale.
- [SheetControlOptions.License Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/license-property/llms-full.txt): SheetControlOptions.License property in the TX Sheet Control .NET API: Store-issued license string, verified by the existing browser reader before Ready.
- [SheetControlOptions.Locale Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/locale-property/llms-full.txt): SheetControlOptions.Locale property in the TX Sheet Control .NET API: Initial number and date formatting locale, such as en-US, fixed after mounting.
- [SheetControlOptions.MaxColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/maxcolumns-property/llms-full.txt): SheetControlOptions.MaxColumns property in the TX Sheet Control .NET API: Maximum column capacity when automatic growth is enabled.
- [SheetControlOptions.MaxRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/maxrows-property/llms-full.txt): SheetControlOptions.MaxRows property in the TX Sheet Control .NET API: Maximum row capacity when automatic growth is enabled.
- [SheetControlOptions.Resources Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/resources-property/llms-full.txt): SheetControlOptions.Resources property in the TX Sheet Control .NET API: Per-editor localized resource overrides, such as ribbon.home, keyed by resource.
- [SheetControlOptions.Ribbon Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/ribbon-property/llms-full.txt): SheetControlOptions.Ribbon property in the TX Sheet Control .NET API: Screen-only ribbon density, display mode and built-in item policies.
- [SheetControlOptions.Rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/rows-property/llms-full.txt): SheetControlOptions.Rows property in the TX Sheet Control .NET API: Initial worksheet row capacity, independent of populated rows.
- [SheetControlOptions.Theme Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/theme-property/llms-full.txt): SheetControlOptions.Theme property in the TX Sheet Control .NET API: Automatic, light or dark appearance: auto, light, dark.
- [SheetControlOptions.UserName Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/username-property/llms-full.txt): SheetControlOptions.UserName property in the TX Sheet Control .NET API: Comment author used for new comments, changeable by assigning a new options record.
- [SheetControlOptions.ViewMode Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/viewmode-property/llms-full.txt): SheetControlOptions.ViewMode property in the TX Sheet Control .NET API: Normal or page-layout worksheet presentation of the Blazor editor, as a string.
- [SheetControlOptions.Zoom Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/zoom-property/llms-full.txt): SheetControlOptions.Zoom property in the TX Sheet Control .NET API: Worksheet zoom in percent, from 25 to 400, changeable without recreating the component.

---

## Nearby

- **Previous:** [SheetControlErrorEventArgs.Message Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontrolerroreventargs/message-property/llms-full.txt)
- **Next:** [SheetControlOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/constructor/llms-full.txt)
