Class DragFeedbackElement
Represents the visual feedback which is visible when dragging an appointment.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class DragFeedbackElement : SchedulerVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
DragFeedbackElement(RadScheduler, SchedulerView, IEvent)
Initializes a new instance of the DragFeedbackElement class.
Declaration
public DragFeedbackElement(RadScheduler scheduler, SchedulerView view, IEvent appointment)
Parameters
RadScheduler
scheduler
The scheduler. |
SchedulerView
view
The view. |
IEvent
appointment
The underlying appointment for this element. |
Properties
Appointment
Gets the appointment that was passed to the constructor of the feedback element. This is usually a dummy appointment whose properties are updated durring the drag operation. When the feedback is dropped, its properties are copied to the AssociatedAppointment.
Declaration
public IEvent Appointment { get; }
Property Value
IEvent
The appointment. |
AssociatedAppointment
Gets or sets the associated appointment. This should be an existing appointment whose properties will be updated when the feedback element is dropped.
Declaration
public IEvent AssociatedAppointment { get; set; }
Property Value
IEvent
|
End
Gets or sets the end date for the feedback element.
Declaration
public DateTime End { get; set; }
Property Value
System.DateTime
The end. |
Start
Gets or sets the start date for the feedback element.
Declaration
public DateTime Start { get; set; }
Property Value
System.DateTime
|
Methods
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
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|