# DashboardParameter Class

> DashboardParameter class in the TX Sheet Control .NET API: A finite numeric what-if value. Choice values or inclusive limits constrain interactive changes.

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

---

A finite numeric what-if value. Choice values or inclusive limits constrain interactive changes.

### Members

| Property | Description |
|---|---|
| [Id](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/id-property/llms-full.txt) | Stable identity within the owning dashboard. |
| [Name](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/name-property/llms-full.txt) | Display name shown to dashboard viewers. |
| [Value](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/value-property/llms-full.txt) | Finite numeric value, or the documented scalar value for this setting. |
| [Minimum](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/minimum-property/llms-full.txt) | Typed minimum setting; validated by the owning dashboard operation. |
| [Maximum](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/maximum-property/llms-full.txt) | Typed maximum setting; validated by the owning dashboard operation. |
| [Step](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/step-property/llms-full.txt) | Typed step setting; validated by the owning dashboard operation. |
| [Choices](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/choices-property/llms-full.txt) | Typed choices setting; validated by the owning dashboard operation. |

### Constructor

```csharp
public DashboardParameter()
```

Creates an instance with the property defaults shown in this reference. Settings are validated when applied to the owning document; result objects obtained from document operations are detached snapshots.

### Examples

Create and configure a sales dashboard, then write the resulting SVG report.

```csharp
using System.Text.Json;
using TXTextControl.TXSheetControl.Server;

async Task ConfigureSalesDashboard(ServerSheetControl control)
{
    var book = control.Workbook;
    var sheet = await book.Sheets.AtAsync(0);
    await sheet.Range("A1:G5").SetValuesAsync(new object?[][] {
        ["Region", "Country", "Customer", "Revenue", "Profit", "Date", "Units"],
        ["Europe", "Germany", "Studio", 42000, 12000, "2026-01-15", 12],
        ["Europe", "France", "Labs", 38000, 9000, "2026-02-15", 15],
        ["Americas", "Canada", "Partners", 31000, 8000, "2026-01-15", 9],
        ["Americas", "United States", "Design", 49000, 15000, "2026-02-15", 18]
    });
    await book.Analytics.SetSourceAsync(new() { Id = "sales", Name = "Sales", SheetId = sheet.Id, Range = "A1:G5", HasHeaderRow = true });
    var dashboard = await book.Dashboards.AddAsync("Sales Performance");
    await dashboard.UpdateAsync(new { sections = new DashboardSection[] { new() { Id = "summary", Title = "Executive Summary" } } });
    await dashboard.AddWidgetAsync(new() {
        Id = "revenue", Type = "column", Title = "Regional Revenue",
        Placement = new() { X = 0, Y = 0, Width = 8, Height = 6 },
        Query = new() { SourceId = "sales", Dimensions = ["Region"], Measures = [
            new() { Field = "Revenue", Aggregation = "SUM", Alias = "Revenue" },
            new() { Field = "Profit", Aggregation = "SUM", Alias = "Profit" }
        ] }
    });
    var settings = JsonSerializer.Deserialize<DashboardParameter>(
        """
        {
            "id": "growth",
            "name": "Growth Multiplier",
            "value": 1.1,
            "minimum": 0.8,
            "maximum": 1.4,
            "step": 0.05,
            "choices": [
                {
                    "label": "Conservative",
                    "value": 1.1
                },
                {
                    "label": "Growth",
                    "value": 1.3
                }
            ]
        }
        """, new JsonSerializerOptions(JsonSerializerDefaults.Web))!;
    await dashboard.UpdateAsync(new { parameters = new[] { settings } });
    await File.WriteAllTextAsync("sales-dashboard.svg", await dashboard.RenderSvgAsync());
}
```

---

## In This Section

- [DashboardParameter.Choices Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/choices-property/llms-full.txt): DashboardParameter.Choices property in the TX Sheet Control .NET API, with its type DashboardParameterChoice[]? and a C# example.
- [DashboardParameter.Id Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/id-property/llms-full.txt): DashboardParameter.Id property in the TX Sheet Control .NET API: Stable identity of a finite numeric what-if parameter within the owning dashboard, as a string.
- [DashboardParameter.Maximum Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/maximum-property/llms-full.txt): DashboardParameter.Maximum property in the TX Sheet Control .NET API, with its syntax, its type double? and a C# example.
- [DashboardParameter.Minimum Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/minimum-property/llms-full.txt): DashboardParameter.Minimum property in the TX Sheet Control .NET API, with its syntax, its type double? and a C# example.
- [DashboardParameter.Name Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/name-property/llms-full.txt): DashboardParameter.Name property in the TX Sheet Control .NET API: Display name shown to dashboard viewers. Shown with its type string and a C# example.
- [DashboardParameter.Step Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/step-property/llms-full.txt): DashboardParameter.Step property in the TX Sheet Control .NET API: Typed step setting; validated by the owning dashboard operation.
- [DashboardParameter.Value Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/value-property/llms-full.txt): DashboardParameter.Value property in the TX Sheet Control .NET API: Finite numeric value, or the documented scalar value for this setting.

---

## Nearby

- **Previous:** [DashboardSection.Collapsed Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardsection/collapsed-property/llms-full.txt)
- **Next:** [DashboardParameter.Id Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardparameter/id-property/llms-full.txt)
