11. August 2008

.NET Kinderkrankheiten: BackColor für DateTimePicker ändern

Zwar hat ein .NET DateTimePicker Control eine Eigenschaft Namens "BackColor",
die man auch setzen kann,
jedoch tritt dadurch kein Effekt und eine Einfärbung des Control - Hintergrunds ein -.-

Nach kurzer Suche, bin ich auf ein offizielles M$ Statement gestoßen:
"Setting the BackColor has no effect on the appearance of the DateTimePicker. To set the background color for the drop-down calendar of the DateTimePicker, see the CalendarMonthBackground property."

Leider hat das bei mir auch keinen Effekt, also hab ich das komplette Control mit seiner Paint Routine neu nachimplementiert.
Tipps und Hinweise dazu unter:

Link (G00gle Search nach DateTimePicker BackColor)

Viel Erfolg damit und auf ein erfolgreiches Schaffen

mfg
Euer Leitman