Interface IFormComponentFilter
- Namespace
- Kentico.Forms.Web.Mvc.FormComponents
- Assembly
- Kentico.Content.Web.Mvc.dll
Defines methods that are used for filtering form components.
public interface IFormComponentFilter : IComponentFilter
- Extension Methods
Methods
Filter(IEnumerable<FormComponentDefinition>, FormComponentFilterContext)
Applies filtering on the given formComponents
collection.
IEnumerable<FormComponentDefinition> Filter(IEnumerable<FormComponentDefinition> formComponents, FormComponentFilterContext context)
Parameters
formComponents
IEnumerable<FormComponentDefinition>Collection of form components to filter.
context
FormComponentFilterContextContext in which to filter the form components.
Returns
- IEnumerable<FormComponentDefinition>
Filtered form components.