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
770
Set IGTheme in xamCalendar globally
posted

I want to set IGTheme in all xamCalendars of my application, but don't know what resource dictionary include in my application resources (there's no IG.xamCalendar.xaml file).

 

What file must include to theme xamCalendar?

 

Thanks a lot

Parents
  • 5600
    Verified Answer
    Offline posted

    Hi,

    XamCalendar's theme can be applied to all calendars in your application using this Style:

    <Style TargetType="ig:XamCalendar">
      <Setter Property="ResourceProvider">
      <Setter.Value> 
          <ig:CalendarResourceProvider ResourceSet="IGTheme"/>
      </Setter.Value>
      </Setter>
    </Style>

    where ig is the namespace -> xmlns:ig="http://schemas.infragistics.com/xaml"

    Just copy/paste this style in app.xaml file in your application.

    Regards,

    Anastas

Reply Children
No Data