The situation is. The ultracalendarcombo is used throughout a application. And they have a particular dropdown appearance.
Now, there is one case where I want to use the ultradatetimeeditor. How do format it so that when it drops down, it's style matches the one for the ultracalendarcombos?
I've played around with the DropDownAppearance, but had no success.
That was the first thing I did. I made sure that the UseOSThemes property is set to false.
Hi Paul,
My guess is that you probably need to set UseOsThemes on the control to false in order to override the themed drawing.
I have tried to change properties in the DropDownAppearance object in the UltraDateTimeEditor, but it has no effect. No matter what I change, the appearance of the calendar is always the same. It's like the control is ignoring them.
I'm using version 8.1.20081.2013 on Windows Vista 64.
what am I missing?
- Paul
I don't think that you're going to get it to look *exactly* the same as the calendar combo, but there are a couple UI roles that are exposed through AppStylist, specifically DotNetMonthDropDown and DotNetMonthDropDownTitle, that may help you out here. I think that DotNetMonthDropDown is already covered by the DropDownAppearance, but there isn't a way to style the title area without this UI role, which was added for a bug fix.
-Matt