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

SfTextBox : Background and foreground problem

Thread ID:





127166 Oct 31,2016 08:34 AM UTC Dec 16,2016 06:27 AM UTC UWP 5
Tags: SfTextBox
Christophe Cordonnier
Asked On October 31, 2016 08:34 AM UTC

I use a SfTextBoxExt like this in a UWP :

SfTextBox:SfTextBoxExt HorizontalAlignment="Center" VerticalAlignment="Center" Width="280" Height="320" AcceptsReturn="True" TextWrapping="Wrap" InputScope="Text" FontSize="14" Background="AntiqueWhite" Foreground="Red"

My problem is Background and Foreground colors are only applied when the control lost focus ! When it has focus background is white en foreground black :(
I use the last version of Syncfusion UWP

This is a bug or normal ?

Priyanga Balasubramaniam [Syncfusion]
Replied On November 1, 2016 01:07 PM UTC

Hi Christophe,

Thank you for contacting Syncfusion Support.

We have implemented our SfTextBoxExt based on MS TextBox behavior. While checking the focused behavior in MS TextBox, it also has same focus behavior as like our control.

We have prepared the workaround sample to meet your requirement. In this sample, we have overridden the SfTextBoxExt style and avoid the changing the Background color to White when the Visual State is "Focused".

Please download the sample from the below link.


Priyanga B

Christophe Cordonnier
Replied On November 1, 2016 05:08 PM UTC

Thanks a lot :)

All works like i want.

Congratulations for all !

Priyanga Balasubramaniam [Syncfusion]
Replied On November 2, 2016 03:53 AM UTC

Hi Christophe,

Thank you for the update.

we are very happy to assist you.

Please let us know if you need any other assistance.

Priyanga B

Pierre-Christophe DUS
Replied On December 15, 2016 06:00 PM UTC

Please apologize me, I wasn't in the good topic: good topic. You can delete my comments here!

Ashwini Paranthaman [Syncfusion]
Replied On December 16, 2016 06:27 AM UTC

Hi Christophe, 
As per your request we have removed the last 2 updates from this forum. 
Ashwini P. 


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

or the page will be automatically redirected to 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