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.

Customize SfDatePicker colors

Thread ID:

Created:

Updated:

Platform:

Replies:

108035 Apr 1,2013 06:12 AM Mar 29,2018 10:01 AM WinRT 4
loading
Tags: SfDatePicker
Juan de Miguel
Asked On April 1, 2013 06:12 AM

I would like to change the header's caption and the footer's buttons forecolor, but I don't have any clue about how to acomplish this. 

I have been considering using a HeaderTemplate but this only is a workaround and, in the best case, it will solve only half of the problem.

Any suggestions?

Best regards.

Swasthika Lakshmi I [Syncfusion]
Replied On April 2, 2013 03:33 AM

Hi Juan,

Thank you for using Syncfusion products.

We have created and attached the sample to achieve your requirement of changing the header of the SfDatePicker and Foreground of Button. In the attached sample, we have set Header property of SfDateSelector using SelectorStyle property of SfDatePicker. We faced an issue while setting Foreground property of SfDateSelector as like Header property. We will be fixing this issue and the fix will be available in upcoming release. As of now, we have given a workaround in the attached sample by editing the template of SfDateSelector to customize the foreground of Button in SfDatePicker .

Please let us know if you have any queries.

Regards,
Swasthika Lakshmi I



App12_e42edf49.zip

Juan de Miguel
Replied On April 3, 2013 03:42 AM

Great!

Thank you a lot for your quick response.

Regards.

Riccon
Replied On March 6, 2014 01:19 PM

Hi,

Sample in your previous post is not available. Can I see it somehow?
Thank you.


marcos mateus
Replied On March 29, 2018 10:01 AM

Obrigado!

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.

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.

;