Skip to main content

Calendar in WPF

  • May 6, 2016
  • 2 replies
  • 0 views

Alberto Ferraz

Hi,

Is there any way the calendar position without being the month in which we are?
I have two calendars: one for check-in and one for check-out.


Walking with the left (check-in) for June and click on 10 June (for example) wanted the right timing to position itself on 11 June.

Thanks

2 replies

Chris Glazier
Forum|alt.badge.img+2

Hi,

Is there any way the calendar position without being the month in which we are?
I have two calendars: one for check-in and one for check-out.


Walking with the left (check-in) for June and click on 10 June (for example) wanted the right timing to position itself on 11 June.

Thanks

You can change the start display date in the calendar control using the DisplayDate property.

set mycalendar::DisplayDate to new DateTime(2016,6,10)


Alberto Ferraz
  • Author
  • Participating Frequently
  • May 10, 2016

Hi,

Is there any way the calendar position without being the month in which we are?
I have two calendars: one for check-in and one for check-out.


Walking with the left (check-in) for June and click on 10 June (for example) wanted the right timing to position itself on 11 June.

Thanks

It´s ok. Five Stars.

Thanks