Base class for spreadsheet toolbar buttons that need to react to selection changes.
IComponent
IHandleEvent
IHandleAfterRender
ComponentBase.BuildRenderTree
ComponentBase.OnInitialized
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.OnAfterRenderAsync
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.SetParametersAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public abstract class RadzenSpreadsheetToolBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderInitializes a new instance of the RadzenSpreadsheetToolBase class.
protected RadzenSpreadsheetToolBase()Gets the feature this tool drives, or null for tools that never need to grey out beyond the default selection check.
protected Spreadsheet.SpreadsheetFeature? Feature { get; }
| Type | Description |
|---|---|
| Spreadsheet.SpreadsheetFeature? | Gets the feature this tool drives, or null for tools that never need to grey out beyond the default selection check. |
Gets whether the tool should be disabled.
protected bool IsDisabled { get; }
| Type | Description |
|---|---|
| bool | Gets whether the tool should be disabled. |
The host spreadsheet, cascaded from RadzenSpreadsheet.
public ISpreadsheet Spreadsheet { get; set; }
| Type | Description |
|---|---|
| ISpreadsheet | The host spreadsheet, cascaded from RadzenSpreadsheet. |
The active worksheet, cascaded from the host RadzenSpreadsheet.
public Documents.Spreadsheet.Worksheet Worksheet { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.Worksheet | The active worksheet, cascaded from the host RadzenSpreadsheet. |