Class DayViewAppointmentsArea
Represents a child element of SchedulerDayViewElement which holds the rulers for each time zone and the RadScrollViewer containing the DayViewAppointmentsTable.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class DayViewAppointmentsArea : SchedulerVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
DayViewAppointmentsArea(RadScheduler, SchedulerView, SchedulerDayViewElement)
Initializes a new instance of the DayViewAppointmentsArea class.
Declaration
public DayViewAppointmentsArea(RadScheduler scheduler, SchedulerView view, SchedulerDayViewElement dayViewElement)
Parameters
|
RadScheduler
scheduler
The scheduler. |
|
SchedulerView
view
The view. |
|
SchedulerDayViewElement
dayViewElement
The day view element. |
Properties
DayViewElement
Gets the parent SchedulerDayViewElement.
Declaration
public SchedulerDayViewElement DayViewElement { get; }
Property Value
|
SchedulerDayViewElement
|
Ruler
Gets the first of the rulers (the default one).
Declaration
public RulerPrimitive Ruler { get; }
Property Value
|
RulerPrimitive
|
Rulers
Gets a list of all the displayed rulers. There is one ruler for each timezone added to the view.
Declaration
public List<RulerPrimitive> Rulers { get; }
Property Value
|
System.Collections.Generic.List<RulerPrimitive>
|
ScrollView
Gets the scroll view containing the DayViewAppointmentsTable.
Declaration
public RadScrollViewer ScrollView { get; }
Property Value
|
RadScrollViewer
|
Table
Gets the DayViewAppointmentsTable contained within the scroll view.
Declaration
public DayViewAppointmentsTable Table { get; }
Property Value
|
DayViewAppointmentsTable
|
VScrollBar
Gets the vertical scrollbar of the scroll view.
Declaration
public RadScrollBarElement VScrollBar { get; }
Property Value
|
RadScrollBarElement
|
Methods
GetRulersWidth()
Gets the total width of the visible rulers.
Declaration
public int GetRulersWidth()
Returns
|
System.Int32
The width. |
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
|
System.Drawing.SizeF
availableSize
|
Returns
|
System.Drawing.SizeF
|
Overrides
ResetRulers()
Re-initialize rulers according to the view TimeZones
Declaration
public void ResetRulers()
SetCurrentTime()
Declaration
protected void SetCurrentTime()
SetRulersVisibility(ElementVisibility)
Sets the Visibility property of all rulers.
Declaration
public void SetRulersVisibility(ElementVisibility visibility)
Parameters
|
ElementVisibility
visibility
The visibility to set. |
UpdateRulersOffsets()
Updates the offset of the rulers according to the changes in the timezones setting.
Declaration
public void UpdateRulersOffsets()