EditForm.OnSubmit Properti

Definisi

Panggilan balik yang akan dipanggil ketika formulir dikirimkan.

Jika menggunakan parameter ini, Anda bertanggung jawab untuk memicu validasi apa pun secara manual, misalnya, dengan memanggil 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)

Nilai Properti

Atribut

Berlaku untuk