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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Opcaity in Calendar BlackoutCellTemplates

Thread ID:

Created:

Updated:

Platform:

Replies:

110124 Jul 19,2013 01:11 PM UTC Jul 24,2013 09:44 PM UTC WinRT 4
loading
Tags: SfCalendar
Pablo
Asked On July 19, 2013 01:11 PM UTC

Hi. I'm configuring the template of the BlackoutCells and it seems its opacity isn't 1. I will need to set it to 1 since my view has an image background and it is not looking good :)
Is there any way to do that?

Thanks,
Pablo

Vignesh V [Syncfusion]
Replied On July 22, 2013 12:36 PM UTC

Hi Pablo,

We have prepared a sample to achieve your requirement. In the attached sample, opacity value for the blackedoutcell is set to 1 through BlackedOutCellTemplate Property. The Visibility may vary according to the background image, for better visibility of the blacked out dates the Foreground color can be varied. 

Please find the sample in below link,


For further concerns, please modify the sample to reproduce the issue, so that we can provide you accurate solution.

Please let us know if you have any queries,

Regards,
Vignesh V

Pablo
Replied On July 23, 2013 03:31 PM UTC

Hi Vignesh,

Sorry for the confusion here. When I mean BlackOutCells I mean the cells that are not part of the displayed month. There's no way to have a different template for them, is there?

Thanks,
Pablo

Vignesh V [Syncfusion]
Replied On July 24, 2013 12:59 PM UTC

Hi Pablo,

We have prepared a sample to achieve your requirement of “Changing opacity to 1 for the dates that are not part of present month”. In the attached sample we have edited the style of ‘CalendarDayButton’ class and the templates are applied using CellTemplate property.

 Please find the sample in below link,

 calendar_opacity.zip

 Please let us know if you have any queries,

Regards,

Vignesh V


Pablo
Replied On July 24, 2013 09:44 PM UTC

Great!

Thanks!

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

;