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 RadSchedulerElement class.
Declaration
public RadSchedulerElement(RadScheduler scheduler, SchedulerView view)
Parameters
RadScheduler
scheduler
The scheduler. |
SchedulerView
view
The view. |
Fields
AppointmentShadowShapeProperty
Declaration
public static readonly RadProperty AppointmentShadowShapeProperty
Field Value
RadProperty
|
AppointmentShapeProperty
AppointmentStatusShapeProperty
Declaration
public static readonly RadProperty AppointmentStatusShapeProperty
Field Value
RadProperty
|
DefaultDateTimeTitleColorProperty
Declaration
public static readonly RadProperty DefaultDateTimeTitleColorProperty
Field Value
RadProperty
|
DefaultDateTimeTitleFontProperty
Declaration
public static readonly RadProperty DefaultDateTimeTitleFontProperty
Field Value
RadProperty
|
ExceptionIconProperty
NavigatorsWidthProperty
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.Boolean
The default value is false. |
AppointmentShape
Gets or sets the appointment shape
Declaration
[VsbBrowsable(true)]
public ElementShape AppointmentShape { get; set; }
Property Value
ElementShape
|
ContextMenu
Gets or sets the context menu associated with this element.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
RadContextMenu
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.Drawing.Color
|
DefaultDateTimeTitleFont
Gets or sets the default date time font of the appointment title
Declaration
[VsbBrowsable(true)]
public Font DefaultDateTimeTitleFont { get; set; }
Property Value
System.Drawing.Font
|
DragDropBehavior
Gets or sets the scheduler's drag and drop behavior.
Declaration
public AppointmentDraggingBehavior DragDropBehavior { get; set; }
Property Value
AppointmentDraggingBehavior
|
EditorManager
Gets the scheduler's editor manager.
Declaration
public SchedulerEditManager EditorManager { get; set; }
Property Value
SchedulerEditManager
|
ExceptionIcon
Gets or sets the exception icon
Declaration
[VsbBrowsable(true)]
public Image ExceptionIcon { get; set; }
Property Value
System.Drawing.Image
|
IsContextMenuOpened
Declaration
public bool IsContextMenuOpened { get; }
Property Value
System.Boolean
|
NavigatorsWidth
RecurrenceIcon
Gets or sets the recurrence icon
Declaration
[VsbBrowsable(true)]
public Image RecurrenceIcon { get; set; }
Property Value
System.Drawing.Image
|
ResizeBehavior
Gets or sets the scheduler's resizing behavior.
Declaration
public AppointmentResizingBehavior ResizeBehavior { get; set; }
Property Value
AppointmentResizingBehavior
|
View
ViewElement
Gets the view element.
Declaration
public SchedulerViewElement ViewElement { get; }
Property Value
SchedulerViewElement
The view element. |
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
BeginElementUpdate()
Begins the update.
Declaration
public void BeginElementUpdate()
CallViewChanged(SchedulerViewChangedEventArgs)
Declaration
public void CallViewChanged(SchedulerViewChangedEventArgs e)
Parameters
SchedulerViewChangedEventArgs
e
|
CreateViewElement()
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
EndElementUpdate()
Ends the update.
Declaration
public void EndElementUpdate()
GetAppointmentElement(IEvent)
Gets the AppointmentElement associated with the specified event.
Declaration
public AppointmentElement GetAppointmentElement(IEvent appointment)
Parameters
IEvent
appointment
The event to search for. |
Returns
AppointmentElement
An instance of AppointmentElement if successfull. |
GetResourceHeaderAngleTransform(SchedulerViewType)
Gets the resource header angle tranform.
Declaration
public int GetResourceHeaderAngleTransform(SchedulerViewType viewType)
Parameters
SchedulerViewType
viewType
Type of the view. |
Returns
System.Int32
|
IsElementUpdating()
Determines whether this instance is updating.
Declaration
public bool IsElementUpdating()
Returns
System.Boolean
|
MoveToNextView()
Declaration
public void MoveToNextView()
MoveToPreviousView()
Declaration
public void MoveToPreviousView()
NavigateToFirstResource()
NavigateToLastResource()
NavigateToNextResource()
NavigateToPreviousResource()
OnActiveViewChanged(SchedulerViewChangedEventArgs)
Declaration
protected virtual void OnActiveViewChanged(SchedulerViewChangedEventArgs e)
Parameters
SchedulerViewChangedEventArgs
e
|
ProcessContextMenu(Point)
Declaration
protected virtual bool ProcessContextMenu(Point location)
Parameters
System.Drawing.Point
location
|
Returns
System.Boolean
|
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
SchedulerViewType
viewType
Type of the view. |
System.Int32
angleTransform
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()