Skip to main content

ToolbarItemFactory.DateBox() Method

Creates a DateBox control that represents a toolbar item.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DateBoxBuilder DateBox()

Returns

Type Description
DateBoxBuilder

An instance of DateBoxBuilder.

Remarks

@(Html.DevExtreme().Toolbar()
    .Items(items => {
        items.Add()
            .Widget(w => w.DateBox()
                // call methods in a chain to customize the control
            );
    })
)
See Also