Skip to main content

TreeListColumnEditorPropertiesFactory.CheckBox(Action<MVCxColumnCheckBoxProperties>) Method

Allows you to configure a check box column.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

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