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

MonthCalendarExt

Thread ID:

Created:

Updated:

Platform:

Replies:

27692 Apr 15,2005 05:05 PM UTC Apr 15,2005 10:45 PM UTC Windows Forms 1
loading
Tags: Tools
Kay
Asked On April 15, 2005 05:05 PM UTC

Hello, I am trying to extend the MonthCalendarExt control by deriving from it and make a certain date to be bold with color. What I did is I override the OnDateCellQueryInfo method. The Color shows up fine, but any changes to the e.Style.Font object didn''t apply. The code is more or less like below. protected override bool OnDateCellQueryInfo(DateCellQueryInfoEventArgs e) { if (e.DateValue != null && !e.IsOutsideRange) { if (((DateTime)e.DateValue).Day > 27) { e.Style.TextColor = Color.Green; e.Style.Font.Bold = true; } } return true; } Is there any extra steps that I need to do? Thanks.

Administrator [Syncfusion]
Replied On April 15, 2005 10:45 PM UTC

Hi Kay, Unfortunately, we''re unable to support MonthCalendarExt as it''s obsolete and has been replaced with MonthCalendarAdv. I''ve checked tested code in our latest version (3.2) and both the colors and the Bold style seem to be working in MonthCalendarAdv. I would recommend upgrading once our final release of v3.2 is released. Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

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

;