Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerTimelineView : SchedulerView, INotifyPropertyChanged
Inheritance: objectSchedulerViewSchedulerTimelineView
Implements:
Inherited Members
Constructors
Initializes a new instance of the SchedulerTimelineView class.
public SchedulerTimelineView()
Properties
Gets the time scale that was last shown by the ShowTimescale method. If the method was not called, returns null. Use the GetScaling() method to get the scale that is in active use.
public SchedulerTimescale CurrentScale { get; }
public int DisplayedCellsCount { get; }
Gets or sets the offset time span.
public override TimeSpan OffsetTimeSpan { get; set; }
The offset time span.
Overrides:
Gets or sets the TimelineView's RangeEndDate.
public DateTime RangeEndDate { get; set; }
Gets or sets the TimelineView's RangeStartDate.
public DateTime RangeStartDate { get; set; }
Gets or sets the TimeScales
public ObservableCollection<SchedulerTimescale> SchedulerTimescales { get; set; }
Gets or sets a value indicating whether to show the horizontal scrollbar in SchedulerTimelineView which stands for navigation through dates.
public bool ShowNavigationElement { get; set; }
Gets or sets a value indicating whether to show the vertical scrollbar in SchedulerTimelineView which stands scrolling through the appointments when a cell overflows.
public bool ShowVerticalScrollBar { get; set; }
Gets or sets the start date.
public override DateTime StartDate { get; set; }
Overrides:
Gets the view tipe.
public override SchedulerViewType ViewType { get; }
Overrides:
Methods
Copies the properties from the current view.
protected override void CopyPropertiesToView(SchedulerView other)
Overrides:
Creates a view which has a specific start date.
protected override SchedulerView CreateViewWithStartDate(DateTime startDate)
Overrides:
Gets a list with the days time scales.
Gets the list with default supported formats.
Gets a list with the half hour time scales.
Gets a list with the hours time scales.
Gets a list with the minutes time scales.
Gets a list with the months time scales.
Gets the view with offset from the current view.
Gets the next view.
public override SchedulerView GetNextView(NavigationStepTypes navigationStepType, int navigationStep)
The navigation step type.
navigationStepintThe navigation step.
Returns:Overrides:
Gets the next view containing any of the given appointments.
public override SchedulerView GetNextViewWithAppointments(IEnumerable<IEvent> appointments)
Overrides:
Gets the previous view.
public override SchedulerView GetPreviousView(int offset)
Overrides:
Gets the previous view.
public override SchedulerView GetPreviousView(NavigationStepTypes navigationStepType, int navigationStep)
The navigation step type.
navigationStepintThe navigation step.
Returns:Overrides:
Gets the previous view containing any of the given appointments.
public override SchedulerView GetPreviousViewWithAppointments(IEnumerable<IEvent> appointments)
Overrides:
Gets the TimelineView's scaling.
public int GetScalingMinutes(SchedulerTimescale scale)
protected virtual DateTime GetStartDateForScale(DateTime date, SchedulerTimescale timeScale)
Gets a Timescale by index.
Gets a SchedulerTimescale by a passed as a parameter scale.
Gets the view which contains a specific date.
public override SchedulerView GetViewContainingDate(DateTime date)
Overrides:
Gets a list with the visible time scales.
public List<SchedulerTimescale> GetVisibleTimescales(Timescales scale)
List<SchedulerTimescale>
Gets a list with the weeks time scales.
Gets a list with the years time scales.
Fires the RefreshNeeded event.
protected virtual void OnRefreshNeeded()
Shows a timescale. The specified scale must be present in the SchedulerTimescales collection.
public void ShowTimescale(SchedulerTimescale timeScale)
The scale to show.
Shows the timescale with the specified type.
public void ShowTimescale(Timescales scale)
The type of the scale to show.
protected override void UpdateOnPropertyChange(string propertyName)
Overrides:
Events
Occurs when a Refresh is necessary.
public event EventHandler RefreshNeeded