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