IEditablePropertiesCollectorGetEditablePropertiesWithEditors Method |
Returns key value pair collection of
FormComponents paired with the
PropertyInfo
that is edited via given
FormComponent in Form builder's UI.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
SyntaxIEnumerable<KeyValuePair<PropertyInfo, FormComponent>> GetEditablePropertiesWithEditors(
Object model,
FormComponentContext context
)
Parameters
- model
- Type: SystemObject
Object with editable properties. - context
- Type: Kentico.Forms.Web.MvcFormComponentContext
Contextual information specifying where the form components are being used.
Return Value
Type:
IEnumerableKeyValuePairPropertyInfo,
FormComponent
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when model is null. |
See Also