This is a migrated thread and some comments may be shown as answers.

SelectedItems not visible clearly

1 Answer 67 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Christie Admin
Top achievements
Rank 1
Christie Admin asked on 04 Feb 2014, 08:50 PM
Hi,

I'm using the Office 2013 theme and I would like to know how I can change the background color of the selected items because the constrast between the appointments and the selected appointments is not quite clear?!?

Thank's
Alain

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 07 Feb 2014, 11:50 AM
Hi Alain,

In order to achieve the desired I can suggest you two different approaches. First one is to change the EffectLowColor of the Office2013 theme - it will change the color of the selected Appointments, but it will also affect the colors of other ScheduleView elements. You can do it the following way:

public MainWindow()
{
    Office2013Palette.Palette.EffectLowColor = Colors.Orange;
    InitializeComponent();
}

For more details about styling the Office2013 theme you can check this article from our online help documentation.

The second approach is to extract and modify the default AppointmentItemVertical and AppointmentItemHorizontal ControlTemplates in order to change the color of the Border named SelectionVisual. Afterwards you would need to apply the templates using the AppointmentStyleSelector.

Hope this helps. If you have any further questions let us know.

Regards,
Kalin
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
ScheduleView
Asked by
Christie Admin
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or