Defines whether the days of the previous and next month are shown before and after a month.
Class: CalendarClass
Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET
public bool ShowTrailingDates { get; set; }
Public Property ShowTrailingDates As BooleanTrue to show them, otherwise False.
The default value is True.
Defines whether the days of the previous and next month are shown before and after a month.
Private Sub ComboFirstDay_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ComboFirstDay.SelectedIndexChanged
For Each calendar As CalendarClass In AllCalendars()
calendar.FirstDayOfWeek = CType(ComboFirstDay.SelectedItem, FirstDayOfWeekEnum)
Next
End Sub
Private Sub CheckTrailing_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles CheckTrailing.CheckedChanged
For Each calendar As CalendarClass In AllCalendars()
calendar.ShowTrailingDates = CheckTrailing.Checked
Next
End Sub
Private Sub CheckToday_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles CheckToday.CheckedChanged
For Each calendar As CalendarClass In AllCalendars()
calendar.ShowTodayButton = CheckToday.Checked
NextSee Also CalendarClass Class | Classes | SftDate/NET 3.0