Hey, i am trying to change the color of the little down arrow on the month view. This indicates that there are more appointments. By default it doesn't stand out very much.
Is this possible?
Thanks
Yes that was a typo.
I was not sure on how to go about the application styling solution. Maybe i should look into doing it the correct way but i'll need some help.
So basically i have a control that has a month view (UltraMonthViewSingle), day view (UltraDayView) and week view (UltraWeekView) on it. Here is the code for that control's load event, the month view is the default.
private void ctlCalendar_Load(object sender, EventArgs e) { btnMonth.Select(); // Setup the color scheme for the calendar controls. Office2007ColorTable.ColorScheme = Office2007ColorScheme.Silver; this._monthView.Dock = DockStyle.Fill; this._dayView.Dock = DockStyle.Fill; this._weekView.Dock = DockStyle.Fill; // Default to the month view, hide the other controls. this._dayView.Visible = false; this._weekView.Visible = false; // Format the display header. FormatHeaderString(); // RDOSAM-471 Making down arrow red. Office2007MoreItemsIndicatorUIElement.defaultBorderColor = Color.DarkGray; Office2007MoreItemsIndicatorUIElement.defaultBackColorNormal = Color.Red; Office2007MoreItemsIndicatorUIElement.defaultBackColorHotTracking = Color.Black; }
I guess i don't know where to go from here. Oh i am using version 7.1 if that makes a difference..
Those members were exposed to return the default colors, not really so they could be changed (looks like I forgot to mark them as const). There is no danger in doing that however, and it does provide a way around the Application Styling solution.
Just to clarify - you stated that when you mouse over it it turns blank, but I think this is a typo, and you actually meant black. I am certainly not calling you on a typo, I just want to make sure you aren't having a problem with this. If you are repost and we can try to help.
Just to follow up on my question i was finally able to get back to this and this is all i did to change the color.
Office2007MoreItemsIndicatorUIElement.defaultBorderColor = Color.DarkGray;Office2007MoreItemsIndicatorUIElement.defaultBackColorNormal = Color.Red;Office2007MoreItemsIndicatorUIElement.defaultBackColorHotTracking = Color.Black;
The down arrow is now red, when you mouse over it it turns black.
Thank you Brian. I'll give that a try and let you know what i find out.
John
Yes, but you have to use Application Styling. There are two UIRoles named 'ScheduleMoreActivityIndicatorUp' and 'ScheduleMoreActivityIndicatorDown'; you can set the ForeColor and BackColor of the associated appearance for these roles, or assign an image if you want to display an image instead.