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
60
xamSchedule Recurrent Activities Icon
posted

Can you customize/override the recurrence icon or make it bigger or replace it with another icon?

The icon is the one found on a image from the following link:

http://help.infragistics.com/Help/Doc/WPF/2015.1/CLR4.0/html/xamSchedule_Using_Activities_Recurrent.html#BodyContent

TIA

Parents
No Data
Reply
  • 34830
    Offline posted

    Hello reggie,

    Thank you for your post.

    I have been investigating into your requirement, and to do this, I would recommend that you include the default style for AppointmentPresenter somewhere in your project, so that you can modify it. This default style can be found in the generic.shared.xaml file commonly located at C:\Program Files (x86)\Infragistics\<your version here>\WPF\DefaultStyles\Schedule. This default style will have a dependency on a template named ActivityTemplate, which you can obtain from the same file.

    The ActivityTemplate has quite a few dependencies. One of these is a ValueConverterGroup named BoolToOccurrenceStyle which contains this "icon" that you are looking to modify. This "icon" in reality is a Grid named "recurrence" with a few Path objects inside. If you modify the height of these Path objects, or just replace the Grid completely, you can modify the recurrence icons in the XamSchedule family of controls.

    I have attached a sample project to demonstrate the above. I hope this helps you.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

    XamScheduleRecurrenceIconSize.zip
Children
No Data