InputsDialogInteractionOptions.ValidationCallback Property

Definition

Gets or sets the validation callback for the inputs dialog. This callback is invoked when the user submits the dialog. If validation errors are added to the InputsDialogValidationContext, the dialog will not close and the user will be prompted to correct the errors.

public Func<Aspire.Hosting.InputsDialogValidationContext,System.Threading.Tasks.Task>? ValidationCallback { get; set; }
member this.ValidationCallback : Func<Aspire.Hosting.InputsDialogValidationContext, System.Threading.Tasks.Task> with get, set
Public Property ValidationCallback As Func(Of InputsDialogValidationContext, Task)

Property Value

Applies to