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

Change Only border FocusedColor

Thread ID:

Created:

Updated:

Platform:

Replies:

146448 Aug 4,2019 04:23 PM UTC Aug 6,2019 09:17 AM UTC Xamarin.Forms 3
loading
Tags: SfTextInputLayout
Laerte Alexi
Asked On August 4, 2019 04:23 PM UTC

I need change only border color on state Focused: example: Hint color: blue; border color Red.

Rachel A [Syncfusion]
Replied On August 5, 2019 01:29 PM UTC

Hi Laerte, 
 
Greetings from Syncfusion. 
  
We have achieved your requirement by using the theme resource dictionary specified in the App.xaml file. We have attached the sample for your reference, please download it from the following location.  
  
  
Code Snippet: 
  
[XAML] 
  
<Application xmlns="http://xamarin.com/schemas/2014/forms" 
             xmlns:syncTheme="clr-namespace:Syncfusion.XForms.Themes;assembly=Syncfusion.Core.XForms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="TextInput.App"
 
  
<Application.Resources>
        <syncTheme:SyncfusionThemeDictionary>
            <syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
                <ResourceDictionary>
                    <x:String x:Key="SfTextInputLayoutTheme">CustomTheme</x:String
                    <Color x:Key="SyncPrimaryColor">Red</Color
                    <Color x:Key="SyncPrimaryLightColor">Blue</Color>     
                </ResourceDictionary>
            </syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
        </syncTheme:SyncfusionThemeDictionary>
 </Application.Resources>
 
  
  
Please let us know if you need further assistance on this. 
  
Regards, 
Rachel.

Padmini Ramamurthy [Syncfusion]
Replied On August 6, 2019 04:50 AM UTC

From: Laerte Alexi 
Sent: Monday, August 5, 2019 1:25 PM
To: Syncfusion Support <support@syncfusion.com>
Subject: Re: Syncfusion support community forum 146448, Change Only border FocusedColor, has been updated. 

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.  
Thank you for your attention. 



Padmini Ramamurthy [Syncfusion]
Replied On August 6, 2019 09:17 AM UTC

Hi Laerte, 
  
Welcome and please get back to us if you need any other assistance. 
  
Regards, 
Padmini 


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.

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

Live Chat Icon For mobile
Live Chat Icon