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
2940
TodayButtonStyle and number in XamMonthCalendar
posted

Hi.. I am using XamMonthCalendar in which i want to change the TodayButtonStyle format as dd/mm/yyyy instead of mm/dd/yyyy.How can i do.And also i am displaying count on the top of the today button in which it is schedule for that day selected.In my example i have selected 7 so count of that day should come exactly middle and day no. should come left top  corner.How to do.Is their style for that.I am sending screenshot so that u ppl can understand.

Parents
No Data
Reply
  • 4475
    posted

    Hello,

     

    I have been looking into your issue and as to your first question I have created a sample project in order to illustrate my custom approach on changing the described format. In my sample I am re-templating the TodayButtonStyleKey by setting my own MultiConverter instead of the default one. In this converter I am modeling the input values, by changing their format.

     

    As to your second question I am not quite sure that I understood your requirements. Can you please give me a more detailed explanation on what exactly would you like to achieve. Also it would be helpful if you explain me how did you implement that counter, did you retemplate the default style as well, or better – supply me with an isolated sample project that demonstrates how did you implement that functionality.

     

    I will be looking forward to hearing from you.

     

    Sincerely,

    Ekaterina

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

     

Children