Hi,
I inherited some code that uses a UltraMonthViewSingle, which I am not very familiar with. We needed to shrink the control. After shrinking it, we noticed a small "bar" appearing in every cell. The bar appears to do nothing. It does not dropdown or display data. Can you tell us what this is? I do not see anything in the properties for the control that refer to this. I don't see that is should be showing up at all, but obviously it does. In this case, a "picture is worth a thousand words", so I am attaching a screen shot of the the control (during runtime) after resizing it in the designer.
Can you tell me what this "bar" is? I.e. is it a property that I can control? And how do I remove it?
Thanks,
Andrew
If you are certain that there is enough room to display all appointments/notes and the indicator is appearing, that is a bug. I was not able to reproduce that behavior with a simple test; if you can reliably reproduce this you should either report it as a bug or attach the sample here so we can take a look.
Brian,
Thanks for the reply, but I'm still not clear as to the answer. Can you see the images I posted? Or is there an email I can send them to? The problem is that I shrank the calendar vertically. I also shrank the font size of the notes. It should be possible to show all the notes without resorting to the MoreActivityIndicator. There is PLENTY of room. Thus, I think there is something else I need to do to ensure that the MoreActivityIndicator does not show up.
There is no way to remove them through the public object model, but you should be able to do it using the IUIElementCreationFilter interface.
Thanks for the quick response. I think it makes sense that the MoreActivityIndicator should appear if I shrink the calendar, thereby leaving less room for "appointments" as you refer to them as, or "notes" as the documentation refers to them. As an experiment, I tried making the font size for the notes very small, but still the MoreActivityIndicator shows up. I have attached two runtime screenshots. One is the original calendar. Take a look at May 6th. It shows the date, and two notes. Now look at the second screen shot. Even though I have shrunk the note size, the MoreActivityIndicator appears. It appears to me, that there is more to it than just shrinking the font size of the notes. As you can see on the second screen shot, it looks as if there are "boundaries" or "margins" around each note. Can you tell me how to shrink my calendar (vertically) and avoid getting the MoreActivityIndicator?
We call that the "MoreActivityIndicator", and it denotes the presence of appointments below the last visible one in a day. When the user clicks it, the MoreActivityIndicatorClicked event fires. We added this in emulation of MS Outlook; in Outlook, clicking this thing hides the MonthViewSingle and shows the DayView in its place, providing a more detailed view of that day's activity. Since it is not within the realm of control behavior to hide itself and show another control, we kept the functionality generic and just exposed the event.