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