Class UiTypedConfirmDialog

Assembly: redb.Identity.Web.dll
public class UiTypedConfirmDialog : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Inheritance

Object→ComponentBase→UiTypedConfirmDialog

Implements

Properties

Message

Body paragraph above the typed-confirm row. Should explain what is

[Parameter]
public string Message { get; set; }

Title

Modal heading. Stays in place after Show — caller can pre-set it as

[Parameter]
public string Title { get; set; }

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied .

protected override void BuildRenderTree(RenderTreeBuilder __builder)

ShowAsync(string, string?, string?, string?)

Display the modal and wait for the user's verdict.

public Task<bool> ShowAsync(string expectedText, string? message = null, string? title = null, string? confirmLabel = null)