Base class for spreadsheet dialogs that provides shared DialogService injection, a localizer, and a default cancel handler.
Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
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
public abstract class SpreadsheetDialogBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderBase class for spreadsheet dialogs that provides shared DialogService injection, a localizer, and a default cancel handler.
protected SpreadsheetDialogBase()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.
protected Globalization.CultureInfo DefaultUICulture { get; set; }
| Type | Description |
|---|---|
| Globalization.CultureInfo | 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. |
Gets or sets the dialog service used to close the dialog.
protected DialogService DialogService { get; set; }
| Type | Description |
|---|---|
| DialogService | Gets or sets the dialog service used to close the dialog. |
Returns the localized string for the specified resource key in the current UI culture.
protected string L(string key)
| Type | Name | Description |
|---|---|---|
| string | key |
| Type | Description |
|---|---|
| string |
Closes the dialog without returning a result.
protected virtual void OnCancel()