Skip to main content

TreeListColumnEditorPropertiesFactory.DropDownEdit(Action<MVCxColumnDropDownEditProperties>) Method

Allows you to configure a dropdown edit column.

Namespace: DevExpress.Web.Mvc

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

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