Defines whether the Today button is shown below the calendar.
Class: CalendarClass
Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET
public bool ShowTodayButton { get; set; }
Public Property ShowTodayButton As BooleanTrue to show the Today button, otherwise False.
The default value is True.
Defines whether the Today button is shown below the calendar.
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
Next
End Sub
Private Sub CheckClear_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles CheckClear.CheckedChanged
For Each calendar As CalendarClass In AllCalendars()
calendar.ShowClearButton = CheckClear.Checked
NextSee Also CalendarClass Class | Classes | SftDate/NET 3.0