Click or drag to resize
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.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
IEnumerable<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
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when model is null.
See Also