'Declaration
Public Event BeforeViewChange As EventHandler(Of BeforeViewChangeEventArgs)
public event EventHandler<BeforeViewChangeEventArgs> BeforeViewChange
Event Data
The event handler receives an argument of type BeforeViewChangeEventArgs containing data related to this event. The following BeforeViewChangeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Dates | Gets or sets the range of dates which should be selected in the view. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Style | Gets or sets Style value determining which Style should be selected. |
Remarks
Use this event to cancel action, to set other view type or to set other range of dates.
See Also