Changing Color schemes and Background images

8 posts, 1 answers
  1. Rajesh
    Rajesh avatar
    6 posts
    Member since:
    Jul 2011

    Posted 14 Mar 2012 Link to this post

    Are following changes possible
    To change color of :  (please view the attached image)
    1. View Selector which is currently black
    2. Date Header which is currently grayish
    3. Task color

    To change background of a occurrence of a Task, like in a recurrence task if some occurrences have been completed then there background will be different than those which yet to be started/completed. Similarly for Non - recurrence tasks

    If above changes are possible please provide some code to accomplish them

    Thanks
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 15 Mar 2012 Link to this post

    Hi Rajesh,

    Please, find attached a project that will help you cope with the needed customizations. Search for NOTE to check explanational notes.

    1) The NavigationHeader background is easily changed by changing a single brush
    2) This element is part of the TimeRuler and is rendered as a GoToDayButton. See attachment for more details.
    3) What you need is to use a custom AppointmentStyleSelector. In your selector provide a separate appointment style for recurring appointments. Please, check this help article for more details on the AppointmentStyleSelector.

    I hope this will be helpful.

    Kind regards,
    Dani
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rajesh
    Rajesh avatar
    6 posts
    Member since:
    Jul 2011

    Posted 16 Mar 2012 Link to this post

    Hi, 
    Thanks for your quick reply,

    Problem now i am experiencing is that when i am using Expression Blend and its feature Edit a copy for RadScheduleView's Template

    When that resource is applied, the Buttons on the Navigation Header have been lost

    Please find the attached snapshot for details
    Note : i have not yet made any changes in the Resource which i have got from Blend
  5. Dani
    Admin
    Dani avatar
    848 posts

    Posted 20 Mar 2012 Link to this post

    Hello Rajesh,

    We were able to reproduce the issue and we will strive to provide a fix for this design-time issue as early as we can.
    Although ListBoxItems are not visible, the xaml code is still availble for customization. For now,  I would suggest that you use apply changes in code. You can also use the attached resource dictionary for your customizations. It contains the latest style for the RadScheduleView control.

    Let me know if you need any help using the resources.

    Regards,
    Dani
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Rajesh
    Rajesh avatar
    6 posts
    Member since:
    Jul 2011

    Posted 21 Mar 2012 Link to this post

    Hi,

    I was trying to attach the given resource file in my Project, but it shows many errors when i start to build it
    And i am not able to attach a Zip file to this post, so that i could have showed my sample project

    I placed the given resource file in the previous project given by you, but there also i am getting same build errors

    Do i have to add some files/references to build this resource file

    Current Telerik ref added in project are :
    "Telerik.Windows.Controls.dll" "Telerik.Windows.Controls.Input.dll" "Telerik.Windows.Controls.Navigation.dll" "Telerik.Windows.Controls.ScheduleView.dll" "Telerik.Windows.Data.dll" 

    I have added the snapshot of the build errors

    Note : I am using .NET 3.5 binaries
  7. Dani
    Admin
    Dani avatar
    848 posts

    Posted 21 Mar 2012 Link to this post

    Hi Rajesh,

    You should change the local namespace.

    If it points to:
    xmlns:local="clr-namespace:Telerik.Windows.Controls"

    you should change that to:
    xmlns:local="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"

    I hope this will solve the issue.

    Greetings,
    Dani
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  8. Rajesh
    Rajesh avatar
    6 posts
    Member since:
    Jul 2011

    Posted 02 Apr 2012 Link to this post

    HI,

    Sorry for the late reply,

    Many of the errors were fixed the fix given by you, Thanks,
    But I am still getting one error, so I am still blocked

    Error 1 The tag 'VisualStateManager.VisualStateGroups' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 980 Position 8. C:\Users\chittooril\Documents\Visual Studio 2010\Projects\RadControlsWpfApp_ScheduleView\RadControlsWpfApp_ScheduleView\ResourceDictionary.xaml 980 8 RadControlsWpfApp_ScheduleView

    Above error has been copied from Visual Studio

    Thanks
  9. Answer
    Dani
    Admin
    Dani avatar
    848 posts

    Posted 03 Apr 2012 Link to this post

    Hi Rajesh,

    VisualStateGroups were introduced in version 4.0 for WPF. I guess you are using WPF3.5. If so, you can use the dictionary attached. It contains the same styling information for WPF3.5.

    I hope this will be helpful.

    Greetings,
    Dani
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top
UI for WPF is Visual Studio 2017 Ready