Skip to main content

GridColumnEditorPropertiesFactory.DropDownEdit(Action<MVCxColumnDropDownEditProperties>) Method

Allows you to configure a dropdown edit column.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void DropDownEdit(
    Action<MVCxColumnDropDownEditProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnDropDownEditProperties>

A delegate method that accepts an MVCxColumnDropDownEditProperties object as a parameter.

Remarks

settings.Columns.Add(column => {
     column.FieldName = "Product";
     column.EditorProperties().DropDownEdit(p => {
          p.NullText= "Select a product";
     });
});
See Also