Occurs immediately before the next actions:
  • When range of visible dates is changed by the associated calendar control.
  • When range of visible dates and(or) view type is changed by the C1Scheduler commands.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public event EventHandler<BeforeViewChangeEventArgs> BeforeViewChange
Visual Basic (Declaration)
Public Event BeforeViewChange As EventHandler(Of BeforeViewChangeEventArgs)

Remarks

Use this event to cancel action, to set other view type or to set other range of dates.

See Also