Click or drag to resize
SelectorFormComponentTPropertiesItems Property

Note: This API is now obsolete.

Gets the collection of items populated in component.

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> Items { get; }

Property Value

Type: IEnumerableSelectListItem
See Also