The desired behavior can be easily achieved through a custom ScheduleViewDragDropBehavior
. You will need to override the CanDrop
method inside of which you can compare the Resource of the dragged Appointment to the Resource of the DestinationSlot and if they are different to prevent the drop. I have prepared and attached a sample project which demonstrates the exact approach.
Hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>