Search code examples
c#datereadonlymonthcalendar

How to set monthcalendar (c#) to be readonly?


There's some way to make monthcalendar control in C# (Windows forms) not editable for the user?

I'm looking for some code like:

myMonthcalendar.ReadOnly = true;

Solution

  • You could use Enabled:

    myMonthcalendar.Enabled = false;