Share via


EditForm.Model Property

Definition

Specifies the top-level model object for the form. An edit context will be constructed for this model. If using this parameter, do not also supply a value for EditContext.

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

Property Value

Attributes

Applies to