Hello,
How would I know which month is the one in view, ie when the user scrolls up/down in ultramonthViewSingle I would like to know which month/months(2 in some cases when I have the view set to display 5 weeks) are layed in the view, Just like its done in outlook.
Thank you
Because the control can be displaying more that one month at any given time, there is no notion of a visible month. Outlook makes an arbitrary determination about what month or range of months to display when thr user scrolls, i.e., when the first of the month is in the first row they display that month's name, but if the first row does not contain the first day they show a range, etc.
Note that the FirstVisibleDay property returns a Day object corresponding to the date displayed in the top left cell.
This is exactly what I was looking for so if I utilize the AfterScroll event in the MonthViewSingle I will be able to mimic outlooks behaviour