Represents a scroll bar that can be used in the C1Scheduler's template in order to provide through-the-time navigation for C1Scheduler.

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

Syntax

C#
public class C1SchedulerScrollBar : ScrollBar, 
	IWeakEventListener
Visual Basic (Declaration)
Public Class C1SchedulerScrollBar _
	Inherits ScrollBar _
	Implements IWeakEventListener

Remarks

C1SchedulerScrollBar provides a capability to scroll a visually represented period of time for the C1Scheduler, which means a changing of the VisualStartTime property value by means of usual scrollbar operations, as it happens in the Outlook's Week and Month views.

To provide this behavior, the C1SchedulerScrollBar issues DecrementStartTimeSmallCommand, IncrementStartTimeSmallCommand, DecrementStartTimeLargeCommand, IncrementStartTimeLargeCommand or SetRelativeStartTimeCommand in a response to a user action performed on a scroll bar. These commands are received and processed by the parent C1Scheduler, which causes a changing of the VisualStartTime property value.

In a turn, if the VisualStartTime property value is changed by another means, the C1SchedulerScrollBar thumb position updated automatically. The overall scroll range for the C1SchedulerScrollBar is defined by the Start and End properties.

Inheritance Hierarchy

System..::..Object
  System.Windows.Threading..::..DispatcherObject
    System.Windows..::..DependencyObject
      System.Windows.Media..::..Visual
        System.Windows..::..UIElement
          System.Windows..::..FrameworkElement
            System.Windows.Controls..::..Control
              System.Windows.Controls.Primitives..::..RangeBase
                System.Windows.Controls.Primitives..::..ScrollBar
                  C1.WPF.C1Schedule..::..C1SchedulerScrollBar

See Also