Scrolling a Schedule
The C1SchedulerScrollBar control provides the ability to scroll a visually represented period of time, which means changing the VisualStartTime property value using a typical scrollbar, just as in Microsoft Outlook's Week and Month views. The control is derived from the System.Windows.Controls.Primitives.ScrollBar control and adds the following functionality:
1. Issues C1Scheduler's DecrementStartTimeSmallCommand, IncrementStartTimeSmallCommand, DecrementStartTimeLargeCommand or IncrementStartTimeLargeCommand in response to a user's action performed on a scroll bar. As a consequence, the C1SchedulerScrollBar being placed as a child of C1Scheduler's visual tree, for example, in its ControlTemplate, forces the parent C1Scheduler to perform a corresponding scrolling of the VisualStartTime property value.
2. Sets default values for the Value, SmallStartTimeChange and LargeStartTimeChange properties so a scrollbar's thumb stays in the middle of the scrollbar.
|