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

Customize SfDatePicker colors

Thread ID:





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

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 07:33 AM UTC

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.

Swasthika Lakshmi I


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


Thank you a lot for your quick response.


Replied On March 6, 2014 06:19 PM UTC


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

marcos mateus
Replied On March 29, 2018 02:01 PM UTC



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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