EditForm.EditContext 属性

定义

显式提供编辑上下文。 如果使用此参数,则不要同时提供 Model,因为模型值将从 属性中获取 Model

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

属性值

属性

适用于