EditForm.OnSubmit 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回呼,會在提交表單時叫用。
如果使用此參數,您必須負責手動觸發任何驗證,例如呼叫 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)
屬性值
- 屬性