Hi,
I tried the Infragistics sample, in which calendar control is given and facing following issues
1) In my application i need to customize calendar by changing foreground and background color and was checking "Custom Style" given. But there is
Bouncy animation in it. Not smooth as Calendar control without any styling or properties set. Also found one line in "CustomStyling.xaml " file as follows.
<!--the borders should be exported to another grid in order to proper transitions on dragging -->
I have tried with this but yet no smooth animation.
2) Also if foreground color is forcefully set to black for all time, in dark theme last and next months are not visible though it can be clicked
Can you please suggest any work around for this issue. As we are looking forward to buy and use it in our app.
Thanks.
Hello Surya and thank you for posting!
I have been looking through your requirements and I am not completely sure what exactly your scenario is. A sample project could be found attached to this forum post that shows how the calendar day button style could be modified. Would you please have a look into it and let me know if I am missing something from the behavior you are trying to achieve? Could you modify it to show the issue so I can investigate it further for you? Thank you.
Thanks for your response.
I am facing issues as follows.
1) Need to change foreground/Color of dates to default black for all dates. No matter if its previous month, current month or next month dates.
2) Animation is not as smooth as animation without Custom style. Please let me know if following line CustomStyling.xaml related to same
3) If start date and end date is set dates before start date and dates after end date will not be visible. And its showing blank space within calendar, dragging on which month cannot be scrolled/changed.
4) Is it possible to hange the style of Month year header button.
Hi Surya,
Let me try to assist you further with those matters:1) I have modified the attached sample so the foreground color is changed for all dates. This is achieved by removing the storyboard that is added to the Inactive state of the default CalendarDayButton style. Please note that in order to apply the foreground you need to create a style that is based on the default CalendarDayButton style.2) Would you please let me know which animation is not smooth when you are using the custom style in the samples as it seems that I could not noticed such behavior on my side?3) I believe that you are setting the DisplayDateStart and DisplayDateEnd properties. By design they are used to filter the dates that are displayed in the calendar so that the user can interact with and see only a specified date range. 4) Using the CalendarItem style that can be found in the generic.xaml file in C:\Program Files (x86)\Infragistics\2014.1\Windows Phone\DefaultStyles\Toolkit folder the header button can be easily modified. The Background property of the attached sample project is set to Purple to show this approach.I hope this information will be helpful for you.
Hello Surya,
I am checking if you require any further assistance on any of the issues you have mentioned in your previous post.