'Declaration Public Event FocusedDateChanged As CalendarDateChangedEventHandler
'Usage Dim instance As GcDropDownCalendar Dim handler As CalendarDateChangedEventHandler AddHandler instance.FocusedDateChanged, handler
public event CalendarDateChangedEventHandler FocusedDateChanged
Event Data
The event handler receives an argument of type CalendarDateEventArgs containing data related to this event. The following CalendarDateEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
NewDate | Gets the new focused date of the GcDropDownCalendar. |
OldDate | Gets the previous focused date of the GcDropDownCalendar. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Remarks
This event is raised if the FocusedDate property changed, and it can be changed not only by user interaction but also by binding as well as other set values.
FocusedDateChanged event is raised when mouse down on the button of calendar in mouse operation; and it is raised when key down in keyboard operation.
When calendar scrolled: It is raised before the Scrolled event in mouse operation; and it is raised after the Scrolled event in keyboard navigation or pressing previous/next button.
See Also