Class RadSchedulerElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class RadSchedulerElement : SchedulerVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadSchedulerElement(RadScheduler, SchedulerView)
Initializes a new instance of the Rad
Declaration
public RadSchedulerElement(RadScheduler scheduler, SchedulerView view)
Parameters
Rad The scheduler. |
Scheduler The view. |
Fields
AppointmentShadowShapeProperty
Declaration
public static readonly RadProperty AppointmentShadowShapeProperty
Field Value
AppointmentShapeProperty
AppointmentStatusShapeProperty
Declaration
public static readonly RadProperty AppointmentStatusShapeProperty
Field Value
DefaultDateTimeTitleColorProperty
Declaration
public static readonly RadProperty DefaultDateTimeTitleColorProperty
Field Value
DefaultDateTimeTitleFontProperty
Declaration
public static readonly RadProperty DefaultDateTimeTitleFontProperty
Field Value
ExceptionIconProperty
ModernAppointmentBackColor2Property
Declaration
public static readonly RadProperty ModernAppointmentBackColor2Property
Field Value
ModernAppointmentBackColorProperty
Declaration
public static readonly RadProperty ModernAppointmentBackColorProperty
Field Value
ModernAppointmentBlueColorProperty
Declaration
public static readonly RadProperty ModernAppointmentBlueColorProperty
Field Value
ModernAppointmentBorderColorProperty
Declaration
public static readonly RadProperty ModernAppointmentBorderColorProperty
Field Value
ModernAppointmentForeColorProperty
Declaration
public static readonly RadProperty ModernAppointmentForeColorProperty
Field Value
ModernAppointmentGrayColorProperty
Declaration
public static readonly RadProperty ModernAppointmentGrayColorProperty
Field Value
ModernAppointmentGreenColorProperty
Declaration
public static readonly RadProperty ModernAppointmentGreenColorProperty
Field Value
ModernAppointmentLavenderColorProperty
Declaration
public static readonly RadProperty ModernAppointmentLavenderColorProperty
Field Value
ModernAppointmentOliveColorProperty
Declaration
public static readonly RadProperty ModernAppointmentOliveColorProperty
Field Value
ModernAppointmentOrangeColorProperty
Declaration
public static readonly RadProperty ModernAppointmentOrangeColorProperty
Field Value
ModernAppointmentPinkColorProperty
Declaration
public static readonly RadProperty ModernAppointmentPinkColorProperty
Field Value
ModernAppointmentPurpleColorProperty
Declaration
public static readonly RadProperty ModernAppointmentPurpleColorProperty
Field Value
ModernAppointmentRaspberryColorProperty
Declaration
public static readonly RadProperty ModernAppointmentRaspberryColorProperty
Field Value
ModernAppointmentYellowColorProperty
Declaration
public static readonly RadProperty ModernAppointmentYellowColorProperty
Field Value
NavigatorsWidthProperty
PaintModernApppointmentsBordersProperty
Determines whether the border of the modern appointments when not in the Default state is painted.
Declaration
public static readonly RadProperty PaintModernApppointmentsBordersProperty
Field Value
RecurrenceIconProperty
Properties
AllowDefaultContextMenu
Gets or sets a value indicating whether the default context menu is enabled.
Declaration
public bool AllowDefaultContextMenu { get; set; }
Property Value
System. The default value is false. |
AppointmentShape
Gets or sets the appointment shape
Declaration
[VsbBrowsable(true)]
public ElementShape AppointmentShape { get; set; }
Property Value
ContextMenu
Gets or sets the context menu associated with this element.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
Rad The context menu associated with this element. |
DefaultDateTimeTitleColor
Gets or sets the default date time color of the appointment title
Declaration
[VsbBrowsable(true)]
public Color DefaultDateTimeTitleColor { get; set; }
Property Value
System.
|
DefaultDateTimeTitleFont
Gets or sets the default date time font of the appointment title
Declaration
[VsbBrowsable(true)]
public Font DefaultDateTimeTitleFont { get; set; }
Property Value
System.
|
DragDropBehavior
Gets or sets the scheduler's drag and drop behavior.
Declaration
public AppointmentDraggingBehavior DragDropBehavior { get; set; }
Property Value
EditorManager
Gets the scheduler's editor manager.
Declaration
public SchedulerEditManager EditorManager { get; set; }
Property Value
ExceptionIcon
Gets or sets the exception icon
Declaration
[VsbBrowsable(true)]
public Image ExceptionIcon { get; set; }
Property Value
System.
|
IsContextMenuOpened
Declaration
public bool IsContextMenuOpened { get; }
Property Value
System.
|
ModernAppointmentBackColor
Gets or sets the back color of the appointment when it has the default None category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentBackColor { get; set; }
Property Value
System.
|
ModernAppointmentBackColor2
Gets or sets the second back color of the appointment when it has a linear gradient in the default None category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentBackColor2 { get; set; }
Property Value
System.
|
ModernAppointmentBlueColor
Gets or sets the back color of the appointment when it has the Blue category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentBlueColor { get; set; }
Property Value
System.
|
ModernAppointmentBorderColor
Gets or sets the border color of the appointment when it has the default None category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentBorderColor { get; set; }
Property Value
System.
|
ModernAppointmentForeColor
Gets or sets the fore color of the appointment.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentForeColor { get; set; }
Property Value
System.
|
ModernAppointmentGrayColor
Gets or sets the back color of the appointment when it has the Gray category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentGrayColor { get; set; }
Property Value
System.
|
ModernAppointmentGreenColor
Gets or sets the back color of the appointment when it has the Green category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentGreenColor { get; set; }
Property Value
System.
|
ModernAppointmentLavenderColor
Gets or sets the back color of the appointment when it has the Lavender category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentLavenderColor { get; set; }
Property Value
System.
|
ModernAppointmentOliveColor
Gets or sets the back color of the appointment when it has the Olive category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentOliveColor { get; set; }
Property Value
System.
|
ModernAppointmentOrangeColor
Gets or sets the back color of the appointment when it has the Orange category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentOrangeColor { get; set; }
Property Value
System.
|
ModernAppointmentPinkColor
Gets or sets the back color of the appointment when it has the Pink category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentPinkColor { get; set; }
Property Value
System.
|
ModernAppointmentPurpleColor
Gets or sets the back color of the appointment when it has the Purple category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentPurpleColor { get; set; }
Property Value
System.
|
ModernAppointmentRaspberryColor
Gets or sets the back color of the appointment when it has the Raspberry category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentRaspberryColor { get; set; }
Property Value
System.
|
ModernAppointmentYellowColor
Gets or sets the back color of the appointment when it has the Yellow category.
This color is applied only for appointments with modern styles. Check the Use
Declaration
[VsbBrowsable(true)]
public Color ModernAppointmentYellowColor { get; set; }
Property Value
System.
|
NavigatorsWidth
PaintModernApppointmentsBorders
Gets or sets whether the borders of the appointment element will be painted.
This color is set via the Modern
Declaration
[VsbBrowsable(true)]
public bool PaintModernApppointmentsBorders { get; set; }
Property Value
System.
|
RecurrenceIcon
Gets or sets the recurrence icon
Declaration
[VsbBrowsable(true)]
public Image RecurrenceIcon { get; set; }
Property Value
System.
|
ResizeBehavior
Gets or sets the scheduler's resizing behavior.
Declaration
public AppointmentResizingBehavior ResizeBehavior { get; set; }
Property Value
View
Declaration
public override SchedulerView View { get; }
Property Value
Overrides
ViewElement
Gets the view element.
Declaration
public SchedulerViewElement ViewElement { get; }
Property Value
Scheduler The view element. |
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
BeginElementUpdate()
Begins the update.
Declaration
public void BeginElementUpdate()
CallViewChanged(SchedulerViewChangedEventArgs)
Declaration
public void CallViewChanged(SchedulerViewChangedEventArgs e)
Parameters
CreateViewElement()
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
EndElementUpdate()
Ends the update.
Declaration
public void EndElementUpdate()
GetAppointmentElement(IEvent)
Gets the Appointment
Declaration
public AppointmentElement GetAppointmentElement(IEvent appointment)
Parameters
IEvent
appointment
The event to search for. |
Returns
Appointment An instance of Appointment |
GetResourceHeaderAngleTransform(SchedulerViewType)
Gets the resource header angle tranform.
Declaration
public int GetResourceHeaderAngleTransform(SchedulerViewType viewType)
Parameters
Scheduler Type of the view. |
Returns
System.
|
IsElementUpdating()
Determines whether this instance is updating.
Declaration
public bool IsElementUpdating()
Returns
System.
|
MoveToNextView()
Declaration
public void MoveToNextView()
MoveToPreviousView()
Declaration
public void MoveToPreviousView()
NavigateToFirstResource()
NavigateToLastResource()
NavigateToNextResource()
NavigateToPreviousResource()
OnActiveViewChanged(SchedulerViewChangedEventArgs)
Declaration
protected virtual void OnActiveViewChanged(SchedulerViewChangedEventArgs e)
Parameters
ProcessContextMenu(Point)
Declaration
protected virtual bool ProcessContextMenu(Point location)
Parameters
System.
|
Returns
System.
|
RefreshViewElement()
Disposes the current ViewElement and creates new one.
Declaration
public void RefreshViewElement()
SetResourceHeaderAngleTransform(SchedulerViewType, Int32)
Sets the resource header angle transform.
Declaration
public void SetResourceHeaderAngleTransform(SchedulerViewType viewType, int angleTransform)
Parameters
Scheduler Type of the view. |
System. The angle tranform. |
SynchronizeAppointments()
Forces the synchronization of all appointment elements with their associated events.
Declaration
public void SynchronizeAppointments()
UpdateCellContainers()
Reinitializes the cells and the appointments in all cell containers in the current view.
Declaration
public void UpdateCellContainers()