Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1465
Calendar group styling
posted

Hi,

When you create calendar groups each calendar group is created with a unique colour, is there a way to switch this off and have them all one colour. I am using the infragistics metro theme.

 

Any help would be appreciated.

Parents
No Data
Reply
  • 17475
    Verified Answer
    Offline posted

    Hello Anne, 

    Thank you for posting to our community! 

    When a specific color should be used, the BaseColor property of the ResourceCalendar could be set. This property is used to determine the color of the group. In order to use the same color BaseColor property should be set for each calendar.

    Another approach would be to use the CustomScheduleColorScheme. It is derived CalendarColorScheme class and provides a way to control the colors without deriving a class. The following code snippet shows how this could be used to set red color as BaseColor in xaml:

    <ig:XamScheduleDataManager.ColorScheme>

                            <ig:CustomScheduleColorScheme>

                                <ig:CustomScheduleColorScheme.CustomBaseColors>

                                    <Color A="255" R="255" G="0" B="0"/>

                                </ig:CustomScheduleColorScheme.CustomBaseColors>

                            </ig:CustomScheduleColorScheme>

                        </ig:XamScheduleDataManager.ColorScheme>

    Please feel free to let me know if you have any other questions.

Children