Represents the table in SchedulerDayViewElement where the non-AllDay appointments reside.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class DayViewAppointmentsTable : SchedulerCellContainer, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementSchedulerVisualElementSchedulerCellContainerDayViewAppointmentsTable...
Implements:
Inherited Members
Constructors
public DayViewAppointmentsTable(RadScheduler scheduler, SchedulerView view, DayViewAppointmentsArea area)
Properties
Gets the DayViewAppointmentsArea element that owns the current appointments table instance.
public DayViewAppointmentsArea Area { get; }
If there is an active drag operation and the visual feedback is currently inside the table, returns the visual feedback element. Otherwise returns null.
public DragFeedbackElement Feedback { get; }
Methods
Arranges the appointments in the table.
protected virtual void ArrangeAppointments(SizeF finalSize)
The size passed to the ArrangeOverride method.
Arranges the cell elements in the table.
protected virtual void ArrangeCells(SizeF finalSize)
The size passed to the ArrangeOverride method.
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Creates AppointmentElement elements which will be used in this container.
protected override IEnumerable<AppointmentElement> CreateAppointmentElements()
IEnumerable<AppointmentElement>
A collection of the newly created appointment elements.
Overrides:
Creates SchedulerCellElement elements which will be used in this container.
protected override IEnumerable<SchedulerCellElement> CreateCellElements()
IEnumerable<SchedulerCellElement>
A collection of the newly created cells.
Overrides:
Disposes of managed resources including cached images and SVG images when the element is being disposed.
protected override void DisposeManagedResources()
Overrides:
Draws the current time marker.
protected virtual void DrawCurrentTimeIndicator(DateTime currentDateTime, SchedulerCellElement todayCell, IGraphics graphics)
The current date and time.
todayCellSchedulerCellElementThe cell which should contain the marker.
graphicsIGraphicsThe graphichs to draw to.
Calculates and returns the arrange rectangle of the drag feedback element.
protected virtual RectangleF GetFeedbackElementArrangeRectangle(DragFeedbackElement feedback, SizeF finalSize)
The feedback element.
finalSizeSizeFThe arrange size of the table.
Returns:The calculated arrange rectangle.
Gets a time rounded to the cells of the day view table.
Gets the SchedulerCellElement elements that are currently in the visible area of the table.
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Scrolls the table with a single row up or down.
public void Scroll(bool up)
If [true] the table is scrolled up, otherwise it is scrolled down.
Scrolls the table to a specified time of the day.
Scrolls the table to the start of the working hours.
public void ScrollToWorkHours()
Overrideable method called by UpdateCells().
protected override void UpdateCellsCore()
Overrides: