IFormProviderGetFormComponents Method |
Gets a list of form components as configured in bizFormInfo.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax List<FormComponent> GetFormComponents(
BizFormInfo bizFormInfo,
BizFormComponentContext bizFormComponentContext = null
)
Parameters
- bizFormInfo
- Type: CMS.OnlineFormsBizFormInfo
Biz form for which to return a list of corresponding form components. - bizFormComponentContext (Optional)
- Type: Kentico.Forms.Web.MvcBizFormComponentContext
Biz form component context, which is propagated into created components.
If FormInfo is null, it is set to bizFormInfo.
Return Value
Type:
ListFormComponentReturns a list of form components.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when bizFormInfo is null. |
See Also