InputsDialogInteractionOptions.ValidationCallback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)