Skip to main content

GridColumnEditorPropertiesFactory.CheckBox(Action<MVCxColumnCheckBoxProperties>) Method

Allows you to configure a check box column.

Namespace: DevExpress.Web.Mvc

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

Declaration

public void CheckBox(
    Action<MVCxColumnCheckBoxProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnCheckBoxProperties>

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

Remarks

settings.Columns.Add(column => {
     column.FieldName = "State";
     column.EditorProperties().CheckBox(p => {
          p.AllowGrayed = true;
     });
});
See Also