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
75
How do I know the month in UltramonthView
posted

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

Parents
  • 69832
    Verified Answer
    Offline posted

    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.

Reply Children
No Data