Class ViewFormModel
Inheritance
ViewFormModel
Assembly: Volo.Forms.Web.dll
Syntax
public class ViewFormModel : FormsPageModel
Constructors
ViewFormModel(IFormAppService)
Declaration
public ViewFormModel(IFormAppService formAppService)
Parameters
Properties
FormAppService
Declaration
protected IFormAppService FormAppService { get; }
Property Value
Id
Declaration
[Required]
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
Property Value
RequiresLogin
Declaration
public bool RequiresLogin { get; set; }
Property Value
Title
Declaration
public string Title { get; set; }
Property Value
Methods
OnGet()
Declaration
public virtual Task<IActionResult> OnGet()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns