SpreadsheetDialogBase Class

Base class for spreadsheet dialogs that provides shared DialogService injection, a localizer, and a default cancel handler.

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

ComponentBase.BuildRenderTree

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

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.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public abstract class SpreadsheetDialogBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

SpreadsheetDialogBaselink

Base class for spreadsheet dialogs that provides shared DialogService injection, a localizer, and a default cancel handler.

Declaration
protected SpreadsheetDialogBase()

Properties

DefaultUICulturelink

The UI culture cascaded from a parent component. Dialogs render outside the component that opened them, so this resolves only when a DefaultUICulture cascade is set above the dialog host; otherwise String) falls back to CurrentUICulture.

Declaration
protected Globalization.CultureInfo DefaultUICulture { get; set; }
Property Value
Type Description
Globalization.CultureInfoThe UI culture cascaded from a parent component. Dialogs render outside the component that opened them, so this resolves only when a DefaultUICulture cascade is set above the dialog host; otherwise String) falls back to CurrentUICulture.

DialogServicelink

Gets or sets the dialog service used to close the dialog.

Declaration
protected DialogService DialogService { get; set; }
Property Value
Type Description
DialogServiceGets or sets the dialog service used to close the dialog.

Methods

Llink

Returns the localized string for the specified resource key in the current UI culture.

Declaration
protected string L(string key)
Parameters
Type Name Description
string key
Returns
Type Description
string

OnCancellink

Closes the dialog without returning a result.

Declaration
protected virtual void OnCancel()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙