BuilderFactoryExtensions.BootstrapCalendar(BuilderFactory) Method

Creates a Calendar control.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public static BootstrapCalendarBuilder BootstrapCalendar(
    this BuilderFactory builderFactory
)
<ExtensionAttribute>
Public Shared Function BootstrapCalendar(
    builderFactory As BuilderFactory
) As BootstrapCalendarBuilder

Parameters

Type Name Description
BuilderFactory builderFactory

A BuilderFactory object providing access to Calendar settings.

Returns

Type Description
BootstrapCalendarBuilder

A builder for a Calendar control.

The code sample below demonstrates how you can use this method to create a Calendar control.

@(Html.DevExpress()
    .BootstrapCalendar()
    .Value("01/01/2017"))

See Also