Skip to main content

GridColumnEditorPropertiesFactory.TextBox(Action<MVCxColumnTextBoxProperties>) Method

Allows you to configure a text box column.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void TextBox(
    Action<MVCxColumnTextBoxProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnTextBoxProperties>

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

Remarks

settings.Columns.Add(column => {
     column.FieldName = "DayMin";
     column.Caption = "Day Min";
     column.EditorProperties().TextBox(p => {
          p.DisplayFormatString = "0.00";
     });
});
See Also