BuilderFactoryExtensions.BootstrapCalendar(BuilderFactory) Method

Creates a Calendar control.

Namespace: DevExpress.AspNetCore

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

Syntax

public static BootstrapCalendarBuilder BootstrapCalendar(this BuilderFactory builderFactory)

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"))