.net - How can I change the color of certain dates in the MonthCalendar control? -


how can change color of dates in monthcalendar control in vb.net?

for example, need change color of jan 21 red, sundays orange , on...

this not possible. there no built-in way of customizing way individual days or dates displayed on monthcalendar control.

you could owner-draw control, that's way work justify. make responsible drawing entire control yourself. note if choose go route, monthcalendar control not raise paint event because base control sets userpaint bit "false". have subclass control , override onprint method instead.

i can't recommend third-party controls provide level of customization, quick google search appear turn few options:


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -