ExtensionsFactory<ModelType>.DropDownEditFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<DropDownEditSettings>) Method
Creates a DropDownEdit.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public DropDownEditExtension DropDownEditFor<ValueType>(
Expression<Func<ModelType, ValueType>> expression,
Action<DropDownEditSettings> method
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<ModelType, ValueType>> | An expression that identifies the object that contains the properties to display. |
method | Action<DropDownEditSettings> | A delegate method that accepts DropDownEditSettings as a parameter. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
DropDownEditExtension | A DropDownEditExtension object implementing the DropDownEdit functionality. |
See Also