Hi,
I'm using the lastest version of Telerik and I also use the Office2013 theme. Actually, I create a custom UserControl which contain a RadScheduleView and I have some properties for different purpose. With the Office2013 theme, the highlighted items are not clearly visible on a laptop that's why I would like to know if it's possible to have a border of different color?!? At the same time, I would like to offer a property like "BorderSelectionColor".
I would like to cover the following situation:
- During a drag and drop operation, I would like to highligh + change the border color of the targeted appointments or slots cover by the source appointments
- I actually implemented a keyboard navigation pattern, the user can use the arrow keys to navigate through the slots or the appointements so I would like to highlight + change the border color of the slot or the appoinment where I am. The navigation mechanisim was already implemented but the highlight mechanisim not.
Thank's
Alain
6 Answers, 1 is accepted
If you need to modify the color of the selected Appointment/s you can use the approaches explained in this forum. However as I not sure if I understand you correctly - I will ask you to share an image demonstrating the exact case and the needed result.
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik
See What's Next in App Development. Register for TelerikNEXT.
Hi Kalin,
screenshot was attached...
Alain
Hi Kalin,
2 others screenshot...
Alain
In order to modify the mouse over state of Appointment Item you need to modify both control templates ( AppointmentItemHorizontalControlTemplate and AppointmentItemVerticalControlTemplate) of AppointmentItemBase style. You should do this trough AppointmentStyleSelector property of RadScheduleView.
Regarding the question to change the background during a drag and drop operation or resize one you need to modify DragDropHighlightStyle or ResizeHighlightStyle.
I've prepared a sample project where the above approach is demonstrated.
I hope it helps.
Regards,
Masha
Telerik
See What's Next in App Development. Register for TelerikNEXT.
Hi Masha,
Thank's for your demo, I appreciate and it was verry usefull :)
One other thing is, when I drag one or more appointments over, if the dragged appointments is over an appointment or a specialslot during the drag'n drop operation, I would like to change the border color of the overlapped appointments/specialslots...
Thank's
Alain
I'm afraid this scenario is not supported in the current version of RadScheduleView.
DragVisula style of the appointment has opacity and this color opacity is the only color difference when appointments are overlapping by dragged area. You can play with colors and opacity of the DragDropHighlightStyle to achieve the desired results.
Let me know if you have any further questions.
Regards,
Masha
Telerik
See What's Next in App Development. Register for TelerikNEXT.