Property | Type | Description |
---|
Method | Description | |
---|---|---|
GetFormViewModel ( System.Guid formId, System.Guid layoutId, System.Guid templateId, IPublishedContent page ) : FormViewModel |
Creates a view model for the specified form, layout, and template. This model is used to render a form. |
public static GetFormViewModel ( System.Guid formId, System.Guid layoutId, System.Guid templateId, IPublishedContent page ) : FormViewModel | ||
formId | System.Guid | /// The form ID. /// |
layoutId | System.Guid | /// The layout ID. /// |
templateId | System.Guid | /// The template ID. /// |
page | IPublishedContent | /// The current Umbraco page. /// |
return | FormViewModel |