#if FRAMEWORK20
namespace DevComponents.DotNetBar.Schedule
{
    public class TimeLineVScrollPanel : VScrollPanel
    {
        /// 
        /// Constructor
        /// 
        /// 
        public TimeLineVScrollPanel(CalendarView calendarView)
            : base(calendarView)
        {
        }
        #region Private properties
        /// 
        /// Gets the ScrollBar SmallChange value
        /// 
        protected override int ScrollPanelSmallChange
        {
            get { return (CalendarView.TimeLineHeight); }
        }
        /// 
        /// Gets the ScrollBar Maximum value
        /// 
        protected override int ScrollPanelMaximum
        {
            get
            {
                return (CalendarView.TimeLineHeight *
                    CalendarView.DisplayedOwners.Count);
            }
        }
        #endregion
    }
}
#endif