WidgetFactory<TModel>.ColorBox() Method

Creates a ColorBox control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ColorBoxBuilder ColorBox()

Returns

Type Description
ColorBoxBuilder

An instance of ColorBoxBuilder.

Remarks

This method creates a ColorBoxBuilder class instance whose members can be used to specify ColorBox options.

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