Skip to main content

TreeListColumnEditorPropertiesFactory.Image(Action<MVCxColumnImageEditProperties>) Method

Allows you to configure an image column.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void Image(
    Action<MVCxColumnImageEditProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnImageEditProperties>

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

Remarks

settings.Columns.Add(column => {
     column.FieldName = "Photo";
     column.EditorProperties().Image(p => {
          p.ImageHeight = 200;
          p.ImageWidth = 200;
     });
});
See Also