SelectedItems not visible clearly

2 posts, 0 answers
  1. Christie Admin
    Christie Admin avatar
    239 posts
    Member since:
    Aug 2013

    Posted 04 Feb 2014 Link to this post

    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
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 07 Feb 2014 Link to this post

    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).

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top