Thanks for your time!
6 Answers, 1 is accepted
This the default style which is applied when CanDrop method in the custom DragDropBehavior returns false:
public
override
bool
CanDrop(DragDropState state)
{
return
state.DestinationAppointmentsSource
.OfType<IAppointment>()
.Where((IAppointment a) => !state.DraggedAppointments.Contains(a))
.All((IAppointment a) => state.DestinationSlots.All((Slot s) => !
this
.AreOverlapping(a, s)));
}
Hope this helps.
Regards,
Yana
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
Can you post that style so I can force it into my app? That should hold me over until I can update to the latest build.
I'm sorry I didn't explain clearly enough.
The icon should be shown without any additional coding ( except the return value in CanDrop method). Could you please tell us which version exactly you're using and we'll make an example? Thanks
All the best,
Yana
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
I'm sorry for my confusion, I checked again and the visual cue was really added in Q2 release. Also there is no easy way to implement this in the version that you're using. Is it possible for you to upgrade to Q2?
Best wishes,
Yana
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
Thanks anyway, I'll pass on this information.