ComponentOne CalendarView for WinForms
C1.CalendarView Namespace / WorkDays Class / SetDay Method
specified System.DayOfWeek day.
If true - set day as work day, if false - remove day from the work days.

In This Topic
    SetDay Method
    In This Topic
    Sets the specified System.DayOfWeek day.
    Syntax
    'Declaration
     
    
    Public Sub SetDay( _
       ByVal day As DayOfWeek, _
       ByVal value As Boolean _
    ) 
    public void SetDay( 
       DayOfWeek day,
       bool value
    )

    Parameters

    day
    specified System.DayOfWeek day.
    value
    If true - set day as work day, if false - remove day from the work days.
    See Also