Skip to main content

WidgetFactory<TModel>.CheckBox() Method

Creates a CheckBox control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public CheckBoxBuilder CheckBox()

Returns

Type Description
CheckBoxBuilder

An instance of CheckBoxBuilder.

Remarks

This method creates a CheckBoxBuilder class instance whose members can be used to specify CheckBox options.

@(Html.DevExtreme().CheckBox() // create a CheckBox
    // call methods to specify control options
)
See Also