.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

month calender in windows application

Posted By: vasantha     Posted Date: August 09, 2012    Points:5   Category :C#
i design monthcalender at runtime in windows application.In that control i disable past dates using monthcalender.minvalue but i cant change color in gray that past dates.how to change color that dates in month calender windowsapplication of c#.net

Author: Narayanan             
Posted Date: August 09, 2012     Points: 20   

try this code..
dateTimePicker1.MaxDate = DateTime.Now;
dateTimePicker1.CalendarForeColor = Color.LightGray;

Regards, Lakshmi Naraayanan.S

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend