Class TimelineAppointmentsPresenter
Represents the appointments area in Scheduler
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class TimelineAppointmentsPresenter : SchedulerCellContainer, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
TimelineAppointmentsPresenter(RadScheduler, SchedulerView, SchedulerTimelineViewElement)
Creates a new instance of the Timeline
Declaration
public TimelineAppointmentsPresenter(RadScheduler scheduler, SchedulerView view, SchedulerTimelineViewElement timelineViewElement)
Parameters
Rad The Rad |
Scheduler The Scheduler |
Scheduler The Scheduler |
Fields
AppointmentHeightProperty
Properties
AppointmentHeight
Gets or sets the appointment's height.
Declaration
public int AppointmentHeight { get; set; }
Property Value
System.
|
Feedback
If there is an active drag operation and the visual feedback is currently inside the presenter, returns the visual feedback element. Otherwise returns null.
Declaration
public DragFeedbackElement Feedback { get; }
Property Value
ScrollOffset
Gets or sets the vertical scroll offset of the presenter.
Declaration
public int ScrollOffset { get; set; }
Property Value
System.
|
TimelineViewElement
Gets the Scheduler
Declaration
public SchedulerTimelineViewElement TimelineViewElement { get; }
Property Value
Methods
ArrangeAppointments(SizeF)
Arranges the appointments in the presenter.
Declaration
protected virtual void ArrangeAppointments(SizeF finalSize)
Parameters
System. The size passed to the ArrangeOverride method. |
ArrangeCells(SizeF)
Arranges the cell elements in the presenter.
Declaration
protected virtual void ArrangeCells(SizeF finalSize)
Parameters
System. The size passed to the ArrangeOverride method. |
ArrangeFeedback()
Arranges the drag feedback element.
Declaration
protected virtual void ArrangeFeedback()
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CreateAppointmentElements()
Declaration
protected override IEnumerable<AppointmentElement> CreateAppointmentElements()
Returns
System.
|
Overrides
CreateCellElements()
Declaration
protected override IEnumerable<SchedulerCellElement> CreateCellElements()
Returns
System.
|
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
ResolveOverlappingAppointments(SizeF)
Initially the appointments are all aranged in a single row and this method is called to resolve any overlapping appointment.
Declaration
protected virtual void ResolveOverlappingAppointments(SizeF availableSize)
Parameters
System.
|
Scroll(Boolean)
Scrolls the presenter with a single row up or down.
Declaration
public void Scroll(bool up)
Parameters
System. If [true] the presenter is scrolled up, otherwise it is scrolled down. |
UpdateCellsCore()
Declaration
protected override void UpdateCellsCore()