[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.InputDateBaseBuilder-2.SelectionMode

SelectionMode Method

SelectionMode(DateSelectionMode)

Configurates SelectionMode. Sets a value that indicates whether users can select days, months, or no values at all.

Declaration
public virtual TBuilder SelectionMode(DateSelectionMode value)
Parameters
Type Name Description
DateSelectionMode value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

This property affects the behavior of the drop-down calendar, but not the format used to display dates. If you set selectionMode to 'Month', you should normally set the format property to 'MMM yyyy' or some format that does not include the day.