Skip to main content
A newer version of this page is available. .

WidgetFactory<TModel>.DateBoxFor<TProperty>(Expression<Func<TModel, TProperty>>) Method

The DateBox is a widget that displays date and time in a specified format, and enables a user to pick or type in the required date/time value.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DateBoxBuilder DateBoxFor<TProperty>(
    Expression<Func<TModel, TProperty>> expression
)

Parameters

Name Type
expression Expression<Func<TModel, TProperty>>

Type Parameters

Name
TProperty

Returns

Type
DateBoxBuilder
See Also