Click or drag to resize
CompareToFieldSelectorComponentFieldNames Property

Note: This API is now obsolete.

Gets enumeration of available fields to populate the selector.

This property is obsolete. Use HtmlOptions property instead. Use ToSelectListItems(IEnumerableHtmlOptionItem) extension method to map an enumeration of HtmlOptionItem to enumeration of SelectListItem within Razor views.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use 'HtmlOptions' property instead.")]
public IEnumerable<SelectListItem> FieldNames { get; }

Property Value

Type: IEnumerableSelectListItem
See Also