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)

属性值

属性

适用于