FormItemEditorFactory.CheckBox() Method
Creates a CheckBox control that is used as a form item’s editor.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public CheckBoxBuilder CheckBox()
Returns
Type | Description |
---|---|
CheckBoxBuilder | An instance of CheckBoxBuilder. |
Remarks
@(Html.DevExtreme().Form()
.Items(items => {
items.AddSimple()
.Editor(e => e.CheckBox()
// call methods in a chain to customize the control
);
})
)
See Also