Object
ComponentBase
IComponent
IHandleEvent
IHandleAfterRender
ComponentBase.OnInitializedAsync
ComponentBase.OnParametersSet
ComponentBase.OnParametersSetAsync
ComponentBase.StateHasChanged
ComponentBase.ShouldRender
ComponentBase.OnAfterRender
ComponentBase.InvokeAsync
ComponentBase.DispatchExceptionAsync
ComponentBase.SetParametersAsync
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class RadzenDialog : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderGets or sets the close side dialog aria label text.
public string CloseSideDialogAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the close side dialog aria label text. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
Closes the currently open dialog and returns the specified result.
public Task Close(object result)
| Type | Name | Description |
|---|---|---|
| object | result | The result to return when the dialog is closed. This can contain any data that needs to be passed back to the caller. |
| Type | Description |
|---|---|
| Task | A Task that represents the asynchronous operation of closing the dialog. |
Disposes resources used by the dialog asynchronously. This method is typically called to clean up unmanaged resources or perform cleanup tasks for JavaScript interop involved in the dialog component.
public ValueTask DisposeAsync()
| Type | Description |
|---|---|
| ValueTask | A ValueTask that represents the asynchronous disposal operation. |
protected override Task OnAfterRenderAsync(bool firstRender)
| Type | Name | Description |
|---|---|---|
| bool | firstRender |
| Type | Description |
|---|---|
| Task |
Opens a new dialog with specified parameters and options.
public Task Open(string title, Type type, Dictionary<string, object> parameters, DialogOptions options)
| Type | Name | Description |
|---|---|---|
| string | title | The title of the dialog. |
| Type | type | The content type of the dialog, usually a component type. |
| Dictionary<string, object> | parameters | A dictionary of parameters to pass to the dialog content. |
| DialogOptions | options | Additional configuration options for the dialog, such as size or behavior. |
| Type | Description |
|---|---|
| Task | A Task that represents the asynchronous operation of opening the dialog. |