ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc Namespace / InputDate Class / SelectionMode Property

In This Topic
    SelectionMode Property (InputDate)
    In This Topic
    Gets or sets a value that indicates whether users can select days, months, or no values at all.
    Syntax
    'Declaration
     
    Public Overridable Property SelectionMode As DateSelectionMode
    public virtual DateSelectionMode SelectionMode {get; set;}
    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.
    See Also