TX Sheet Control

TXSheetControlAreas Class

Class
Namespace
TXTextControl.TXSheetControl.AspNetCore
Package
TXTextControl.TXSheetControl.AspNetCore from the private NuGet feed or the supplied NuGet folder
Assembly
TXTextControl.TXSheetControl.AspNetCore.dll
Install
dotnet add package TXTextControl.TXSheetControl.AspNetCore .NET 10 and later.

ASP.NET integration contract that mounts and configures the shared browser control.

Syntax

public class TXSheetControlAreas

Members

Constructors

ConstructorDescription
Constructor

Properties

Examples

Configure a localized invoice editor and pass these options to the Razor tag helper below. Razor creates and runs the tag helper; application code does not need to call Process manually. The helper includes its styles and scripts automatically.

using TXTextControl.TXSheetControl.AspNetCore;

TXSheetControlOptions CreateInvoiceEditorOptions()
{
    var options = new TXSheetControlOptions { Theme = "auto", Language = "de", Locale = "de-DE", Rows = 100, Columns = 20, Areas = new TXSheetControlAreas { Ribbon = true, FormulaBar = true, SheetTabs = true, StatusBar = true } };
    return options;
}
@using TXTextControl.TXSheetControl.AspNetCore
@addTagHelper *, TXTextControl.TXSheetControl.AspNetCore

@{
    var options = new TXSheetControlOptions { Theme = "auto", Language = "de", Locale = "de-DE", Rows = 100, Columns = 20, Areas = new TXSheetControlAreas { Ribbon = true, FormulaBar = true, SheetTabs = true, StatusBar = true } };
}

<tx-sheet-control options="options" height="600"></tx-sheet-control>

See Also