ComponentOne Scheduler for WPF and Silverlight
BeforeViewChange Event (C1Scheduler)

C1.WPF.Schedule Namespace > C1Scheduler Class : BeforeViewChange Event
Occurs immediately before the next actions:
Syntax
'Declaration
 
Public Event BeforeViewChange As System.EventHandler(Of BeforeViewChangeEventArgs)
public event System.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.

PropertyDescription
Gets or sets the range of dates which should be selected in the view.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
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