共用方式為


EditForm.OnSubmit 屬性

定義

回呼,會在提交表單時叫用。

如果使用此參數,您必須負責手動觸發任何驗證,例如呼叫 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)

屬性值

屬性

適用於