How I can paint an arbitrary day with red color and bold font, and some other day in green color?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is beyond the capabilities of the standard WinForm control. But you might want to look here or several other open source replacements.
To set some specifc days to bold you could use:
You can also use the
SelectionRangeproperty of the control to mark a range of adjacent days like this:But this feature is buggy and only works with disabled visual styles. See MSDN for more details.