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