We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

MonthCalendarAdv Question

Does syncfusion''s MonthCalendarAdv provide the "AddBoldedDate" function like the normal VS.NET UI Controls?

2 Replies

AR Anupama Roy Syncfusion Team March 20, 2006 02:34 PM UTC

Hi Jin, You can have Bold text by handling DateCellQueryInfo event of monthCalendarAdv as shown below: private void monthCalendarAdv1_DateCellQueryInfo(object sender, Syncfusion.Windows.Forms.Tools.DateCellQueryInfoEventArgs e) { if (((DateTime)e.DateValue) < DateTime.Today) { e.Style.Enabled = false; e.Style.TextColor = Color.Gray; e.Style.Font.Bold =true; } } Please let me know if you need furthur assistance. Thank you for choosing Syncfusion products. Regards, Anu.


CW Chin Wye Jin March 21, 2006 07:04 AM UTC

Thanks alot!! It works great!! Thanks for replying :)

Loader.
Live Chat Icon For mobile
Up arrow icon