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. Image for the cookie policy date

Change Only border FocusedColor

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

3 Replies

RA Rachel A Syncfusion Team 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.


PR Padmini Ramamurthy Syncfusion Team 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. 




PR Padmini Ramamurthy Syncfusion Team August 6, 2019 09:17 AM UTC

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


Loader.
Up arrow icon