TX Sheet Control

TXSheetControlAreas.Ribbon Property

Property
Namespace
TXTextControl.TXSheetControl.AspNetCore
Package
TXTextControl.TXSheetControl.AspNetCore as TXTextControl.TXSheetControl.AspNetCore.dll from the private NuGet feed or the supplied NuGet folder

Syntax

public bool Ribbon { get; set; }

Property Value

bool.

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>

Remarks

Use the member with an instance or settings object from the documented package. Await task-returning operations. Document-bound handles must be resolved again after loading or deleting their owner.

See Also