Click or drag to resize
ComparisonTypeSelectorComponentTComparisonEnumGetSelectListItems Method

Note: This API is now obsolete.

Gets enumeration of select list items whose value is the underlying type's value and text is a localized enum value. Item whose value corresponds to ComparisonType has its Selected flag set to true.

This method is obsolete. Use GetComparisonTypeOptions method instead.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use/override 'GetComparisonTypeOptions()' method instead.")]
protected virtual IEnumerable<SelectListItem> GetSelectListItems()

Return Value

Type: IEnumerableSelectListItem
See Also