ComponentOne CalendarView for WinForms
C1.Win.C1Input Namespace / DateEditMonthCalendar Class / SetSelectionRange Method
The beginning date of the selection range.
The end date of the selection range.

In This Topic
    SetSelectionRange Method (DateEditMonthCalendar)
    In This Topic
    Sets the selected dates in a month calendar control to the specified date range.
    Syntax
    'Declaration
     
    
    Public Sub SetSelectionRange( _
       ByVal date1 As Date, _
       ByVal date2 As Date _
    ) 
    public void SetSelectionRange( 
       DateTime date1,
       DateTime date2
    )

    Parameters

    date1
    The beginning date of the selection range.
    date2
    The end date of the selection range.
    See Also