Skip to main content

GridColumnEditorPropertiesFactory.TimeEdit(Action<MVCxColumnTimeEditProperties>) Method

Allows you to configure a time edit column.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void TimeEdit(
    Action<MVCxColumnTimeEditProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnTimeEditProperties>

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

Remarks

settings.Columns.Add(column => {
     column.FieldName = "ArrivalTime";
     column.Caption = "Arrival Time";
     column.EditorProperties().TimeEdit(p => {
          p.AllowNull = true;
          p.NullText = "Delayed";
     });
});
See Also