Back to Devexpress

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

aspnetmvc-devexpress-dot-web-dot-mvc-dot-ui-dot-extensionsfactory-1-dot-listboxfor-1-x28-system-dot-linq-dot-expressions-dot-expression-system-dot-func-0-0-x29.md

latest1.9 KB
Original Source

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

Creates a ListBox.

Namespace : DevExpress.Web.Mvc.UI

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Parameters

NameTypeDescription
expressionExpression<Func<ModelType, ValueType>>

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

|

Type Parameters

Name
ValueType

Returns

TypeDescription
ListBoxExtension

A ListBoxExtension object implementing the ListBox functionality.

|

See Also

ExtensionsFactory<ModelType> Class

ExtensionsFactory<ModelType> Members

DevExpress.Web.Mvc.UI Namespace