Occurs when the user clicks the Clear button.
Class: SftCalendar
Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET
public event EventHandler ClearClicked;
Public Event ClearClicked As EventHandlerOccurs when the user clicks the Clear button.
DumpValues("sftCalendar1.DisplayChanged (" + sftCalendar1.DisplayStart.ToShortDateString() + ")", e);
}
private void sftCalendar1_TodayClicked(object sender, EventArgs e) {
DumpValues("sftCalendar1.TodayClicked", e);
}
private void sftCalendar1_ClearClicked(object sender, EventArgs e) {
DumpValues("sftCalendar1.ClearClicked", e);
}
private void sftCalendar1_DayFormatting(object sender, DayFormattingEventArgs e) {
// DumpValues("sftCalendar1.DayFormatting", e); // deliberately suppressed, it occurs for every day shown
}
private void sftCalendar1_Enter(object sender, EventArgs e) {
Private Sub SftCalendar1_DisplayChanged(ByVal sender As Object, ByVal e As EventArgs) Handles SftCalendar1.DisplayChanged
DumpValues("SftCalendar1.DisplayChanged (" + SftCalendar1.DisplayStart.ToShortDateString() + ")", e)
End Sub
Private Sub SftCalendar1_TodayClicked(ByVal sender As Object, ByVal e As EventArgs) Handles SftCalendar1.TodayClicked
DumpValues("SftCalendar1.TodayClicked", e)
End Sub
Private Sub SftCalendar1_ClearClicked(ByVal sender As Object, ByVal e As EventArgs) Handles SftCalendar1.ClearClicked
DumpValues("SftCalendar1.ClearClicked", e)
End Sub
Private Sub SftCalendar1_DayFormatting(ByVal sender As Object, ByVal e As DayFormattingEventArgs) Handles SftCalendar1.DayFormatting
' DumpValues("SftCalendar1.DayFormatting", e) ' deliberately suppressed, it occurs for every day shown
End Sub
See Also SftCalendar Class | Classes | SftDate/NET 3.0