Skip to main content

WidgetFactory<TModel>.Box() Method

Creates a Box control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public BoxBuilder Box()

Returns

Type Description
BoxBuilder

An instance of BoxBuilder.

Remarks

This method creates a BoxBuilder class instance whose members can be used to specify Box options.

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