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
115
Default MonthViewDay Style every 5 weeks
posted

I have the requirements to style the calendar with a specific Color Theme.

I defined the following Styles:

<UserControl.Resources>

  <ResourceDictionary>

    <Style TargetType="{x:Type igPrim:MonthViewDayHeader}" ... />

    <Style TargetType="{x:Type igPrim:DayViewDayHeader}" ... />

    <Style TargetType="{x:Type igPrim:MonthViewDay}" ... />

    <Style TargetType="{x:Type igPrim:MonthViewWeekHeader}" ... />

  </ResourceDictionary>

</UserControl.Resources>

These Styles are derived from generic.shared.xaml and mainly override the ComputedBackground in the ControlTemplate. 

These Styles are working like intended, except every 5th Monday the default Infragistics Styles are used.

I'll appreciate any help.

Parents
  • 1530
    posted

    Hi Matthias,

    Can you please provide an isolated sample which demonstrates this behavior?


    Looking forward to hearing from you.

    Sincerely,
    Teodor
    Software Developer

Reply Children