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.

SfTextBox : Background and foreground problem

Thread ID:

Created:

Updated:

Platform:

Replies:

127166 Oct 31,2016 04:34 AM Dec 16,2016 01:27 AM UWP 5
loading
Tags: SfTextBox
Christophe Cordonnier
Asked On October 31, 2016 04:34 AM

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 14.3.0.52.

This is a bug or normal ?

Priyanga Balasubramaniam [Syncfusion]
Replied On November 1, 2016 09:07 AM

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.

Sample:UWPSample

Regards,
Priyanga B

Christophe Cordonnier
Replied On November 1, 2016 01:08 PM

Thanks a lot :)

All works like i want.

Congratulations for all !

Priyanga Balasubramaniam [Syncfusion]
Replied On November 1, 2016 11:53 PM

Hi Christophe,

Thank you for the update.

we are very happy to assist you.

Please let us know if you need any other assistance.

Regards,
Priyanga B


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

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 01:27 AM

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


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.

;