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
XamMonthCalendar Selection issue
posted

Hi.... I am using XamMonthCalendar in my project and i am displaying data based on selection.But i should not able to select the dates beyond today.Say today is 25-06-2012 and dates after this should not able to select.How can i do this.Plz help me by solving this......

Parents
  • 5600
    Offline posted

    Hi,

    You can use XamMonthCalednar's MaxDate property like this:

     

    <igEditors:XamMonthCalendar  MaxDate="{x:Static sys:DateTime.Now}" />. 

    Where sys is xmlns:sys="clr-namespace:System;assembly=mscorlib".

    Regards,

    Anastas

     

Reply Children