Class DayViewAppointmentsArea
Represents a child element of Scheduler
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, IImageElement, ITextPrimitive, ITextProvider
Constructors
DayViewAppointmentsArea(RadScheduler, SchedulerView, SchedulerDayViewElement)
Initializes a new instance of the Day
Declaration
public DayViewAppointmentsArea(RadScheduler scheduler, SchedulerView view, SchedulerDayViewElement dayViewElement)
Parameters
Rad The scheduler. |
Scheduler The view. |
Scheduler The day view element. |
Properties
DayViewElement
Gets the parent Scheduler
Declaration
public SchedulerDayViewElement DayViewElement { get; }
Property Value
Ruler
Gets the first of the rulers (the default one).
Declaration
public RulerPrimitive Ruler { get; }
Property Value
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.
|
ScrollView
Gets the scroll view containing the Day
Declaration
public RadScrollViewer ScrollView { get; }
Property Value
Table
Gets the Day
Declaration
public DayViewAppointmentsTable Table { get; }
Property Value
VScrollBar
Gets the vertical scrollbar of the scroll view.
Declaration
public RadScrollBarElement VScrollBar { get; }
Property Value
Methods
GetRulersWidth()
Gets the total width of the visible rulers.
Declaration
public int GetRulersWidth()
Returns
System. The width. |
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
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
Element The visibility to set. |
UpdateRulersOffsets()
Updates the offset of the rulers according to the changes in the timezones setting.
Declaration
public void UpdateRulersOffsets()