Show / Hide Table of Contents

Class ViewFormModel

Inheritance
object
FormsPageModel
ViewFormModel
Namespace: Volo.Forms.Web.Pages.Forms
Assembly: Volo.Forms.Web.dll
Syntax
public class ViewFormModel : FormsPageModel

Constructors

ViewFormModel(IFormAppService)

Declaration
public ViewFormModel(IFormAppService formAppService)
Parameters
Type Name Description
IFormAppService formAppService

Properties

FormAppService

Declaration
protected IFormAppService FormAppService { get; }
Property Value
Type Description
IFormAppService

Id

Declaration
[Required]
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
Property Value
Type Description
Guid

RequiresLogin

Declaration
public bool RequiresLogin { get; set; }
Property Value
Type Description
bool

Title

Declaration
public string Title { get; set; }
Property Value
Type Description
string

Methods

OnGet()

Declaration
public virtual Task<IActionResult> OnGet()
Returns
Type Description
Task<IActionResult>

OnPostAsync()

Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Type Description
Task<IActionResult>
In this article
Back to top Powered by Volosoft