ScheduleView - Change the background of SchedulerDialog

1 Answer 21 Views
ScheduleView
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Ohad asked on 20 Jul 2022, 01:36 PM

How can I change the background of it?

 

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 25 Jul 2022, 10:14 AM

Thank you for the provided image.

Based on it, I assume that you've used the approach demonstrated in the Customizing Dialog Windows article.

To be able to change the appearance of the title bar, you need to use a RadWindow (or another custom window implementation) instead of a native window. You can then edit the control template of this window to change its background.

In the case of the RadWindow, you need to change the Fill of the HeaderBackgroundVisual element in its template.

For your convenience, I've gone ahead and demonstrated this in a small sample project. Please note that this would only work for the Office_Black theme and if you're using another theme, you need to extract and edit its template accordingly.

On a side note, you can also customize the scheduler dialog as explained here: Custom Dialogs. In this case, you can modify the control template of the SchedulerWindow control by creating an implicit style.

I hope you find this information helpful.

Tags
ScheduleView
Asked by
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Answers by
Dilyan Traykov
Telerik team
Share this question
or