property Calendar.NonworkingDaysPattern as PatternEnum
Retrieves or sets a value that indicates the pattern being used to fill non-working days.

TypeDescription
PatternEnum A PatternEnum expression that indicates the pattern to fill non working days. 
Use the NonworkingDaysPattern property to specify the pattern to fill non-working days. By default, the NonworkingDaysPattern property is exPatternDot. If the NonworkingDaysPattern property is exPatternEmpty, the non-working days are not highlighted. Use the NonworkingDays property to specify the non-working days in a week. The NonworkingDaysColor property specifies the color being used to fill the non-working days. The NonworkingDaysForeColor property specifies the foreground color for non-working days. The FirstDay property specifies the first day of the week.

The following VB sample draws non-working days using the exPatternShadow brush:

With Calendar1
    .NonworkingDaysPattern = exPatternShadow
End With

The following C++ sample draws non-working days using the exPatternShadow brush:

m_calendar.SetNonworkingDaysPattern( 3 /*exPatternShadow*/ );

The following VB.NET sample draws non-working days using the exPatternShadow brush:

With AxCalendar1
    .NonworkingDaysPattern = EXCALENDARLib.PatternEnum.exPatternShadow
End With

The following C# sample draws non-working days using the exPatternShadow brush:

axCalendar1.NonworkingDaysPattern = EXCALENDARLib.PatternEnum.exPatternShadow

The following VFP sample draws non-working days using the exPatternShadow brush:

with thisform.Calendar1
	.NonworkingDaysPattern = 3
endwith