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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MonthCalendarAdv Question

Thread ID:





42068 Mar 19,2006 02:00 PM UTC Mar 21,2006 07:04 AM UTC Windows Forms 2
Tags: Tools
Chin Wye Jin
Asked On March 19, 2006 02:00 PM UTC

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

Anupama Roy [Syncfusion]
Replied On 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.

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

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon