Class SchedulerVisualElement
Represents a base class for all visual elements in RadScheduler. Holds a reference to the RadScheduler control that will be using the element and the SchedulerView associated with the element.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerVisualElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
SchedulerVisualElement(RadScheduler, SchedulerView)
Initializes a new instance of the SchedulerVisualElement class.
Declaration
public SchedulerVisualElement(RadScheduler scheduler, SchedulerView view)
Parameters
RadScheduler
scheduler
The scheduler that will be using the element. |
SchedulerView
view
The view associated with the element. |
Properties
Scheduler
Gets the scheduler that uses this element.
Declaration
public RadScheduler Scheduler { get; }
Property Value
RadScheduler
|
View
Gets the view associated with this element.
Declaration
public virtual SchedulerView View { get; }
Property Value
SchedulerView
The view. |
Methods
GetAgendaView()
If the associated view of this element is SchedulerAgendaView, returns it. Otherwise returns null.
Declaration
public SchedulerAgendaView GetAgendaView()
Returns
SchedulerAgendaView |
GetDayViewBase()
If the associated view of this element is SchedulerDayViewBase, returns it. Otherwise returns null.
Declaration
public SchedulerDayViewBase GetDayViewBase()
Returns
SchedulerDayViewBase |
GetMonthView()
If the associated view of this element is SchedulerMonthView, returns it. Otherwise returns null.
Declaration
public SchedulerMonthView GetMonthView()
Returns
SchedulerMonthView |
GetMultiDayView()
If the associated view of this element is SchedulerMultiDayView, returns it. Otherwise returns null.
Declaration
public SchedulerMultiDayView GetMultiDayView()
Returns
SchedulerMultiDayView |
GetTimelineView()
If the associated view of this element is SchedulerTimelineView, returns it. Otherwise returns null.
Declaration
public SchedulerTimelineView GetTimelineView()
Returns
SchedulerTimelineView |
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|