ExtensionsFactory<ModelType>.ListBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>) Method

Creates a ListBox.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public ListBoxExtension ListBoxFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression
)
Public Function ListBoxFor(Of ValueType)(
    expression As Expression(Of Func(Of ModelType, ValueType))
) As ListBoxExtension

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.

Type Parameters

Name
ValueType

Returns

Type Description
ListBoxExtension

A ListBoxExtension object implementing the ListBox functionality.

See Also