I have one parent type “Aa” inherit from “Telerik.Windows.Controls.ScheduleView.Appointment”, with two inherited types “Bb” and “Cc”. while each one has different properties implementation.
I have a RadScheduleView which it’s AppointmentsSource bounded to my ViewModel collection of parent type “Aa” (ObservableCollection<Aa>)
I also have two baskets, first one is a list of “Bb” items while the second one is a list of “Cc” items.
I can drag any item from each basket (“Aa” or “Bb”) and drop them on the ScheduleView so a new Appointment is created.
My problem is that the newly created appointment is always created from parent type “Aa” no matter which basket I selected to drag.
I want it to work according to the origin dragged item type so the new appointment will match the type “Bb” or “Cc”.
I Prepared a Sample code you can see here:
https://gist.github.com/EfiNadell/bcc10a8f93b210b7eaf626e67cf459a2