I have implemented a class that inherits from the ScheduleView.Appointment class. The only thing that I added to this class is a constructor and 2 properties (Start & End).
When I drag an appointment within the ScheduleView, the Start and End properties (that overload the base class's Start and End properties) are not modified....the break points are never hit.
Since the class that inherits from ScheduleView.Appointment is also going to be wrapping my Model's "Appointment" class...I would really appreciate someone telling me how to get the GUI to update the Start and End properties when you drag the Appointment's start/end points to a new time value.
This is my very very simple appointment class...the start and end properties are never set when I drag an appointment in the ScheduleView:
Thanks for your time and help!
When I drag an appointment within the ScheduleView, the Start and End properties (that overload the base class's Start and End properties) are not modified....the break points are never hit.
Since the class that inherits from ScheduleView.Appointment is also going to be wrapping my Model's "Appointment" class...I would really appreciate someone telling me how to get the GUI to update the Start and End properties when you drag the Appointment's start/end points to a new time value.
This is my very very simple appointment class...the start and end properties are never set when I drag an appointment in the ScheduleView:
Public Class TimeZoneAppointment Inherits Telerik.Windows.Controls.ScheduleView.Appointment Private _myModelAppointment As ModelAppointment Public Overloads Property Start As Date Get Return MyBase.Start End Get Set(ByVal value As Date) 'this will also modify the model appointment's start property MyBase.Start = value End Set End Property Public Overloads Property [End] As Date Get Return MyBase.End End Get Set(ByVal value As Date) 'this will also modify the model appointment's end property MyBase.End = value End Set End Property Public Sub New(ByVal ma As ModelAppointment) MyBase.New() _myModelAppointment = ma MyBase.Start = _myModelAppointment.startDate MyBase.End = _myModelAppointment.endDate Dim recurrencePattern As New RecurrencePattern() recurrencePattern.Frequency = RecurrenceFrequency.Weekly Dim recurrenceRule As New RecurrenceRule(recurrencePattern) MyBase.RecurrenceRule = recurrenceRule End SubEnd ClassThanks for your time and help!