Share via


EditForm.OnSubmit Property

Definition

A callback that will be invoked when the form is submitted.

If using this parameter, you are responsible for triggering any validation manually, e.g., by calling Validate().

public:
 property Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Forms::EditContext ^> OnSubmit { Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Forms::EditContext ^> get(); void set(Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Forms::EditContext ^> value); };
[Microsoft.AspNetCore.Components.Parameter]
public Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> OnSubmit { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.OnSubmit : Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Forms.EditContext> with get, set
Public Property OnSubmit As EventCallback(Of EditContext)

Property Value

Attributes

Applies to