Click or drag to resize
IFormComponentFilterFilter Method
Applies filtering on the given formComponents collection.

Namespace: Kentico.Forms.Web.Mvc.FormComponents
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
IEnumerable<FormComponentDefinition> Filter(
	IEnumerable<FormComponentDefinition> formComponents,
	FormComponentFilterContext context
)

Parameters

formComponents
Type: System.Collections.GenericIEnumerableFormComponentDefinition
Collection of form components to filter.
context
Type: Kentico.Forms.Web.Mvc.FormComponentsFormComponentFilterContext
Context in which to filter the form components.

Return Value

Type: IEnumerableFormComponentDefinition
Filtered form components.
See Also