- Home
- Forum
- Xamarin.Forms
- Change Only border FocusedColor
Change Only border FocusedColor
I need change only border color on state Focused: example: Hint color: blue; border color Red.
SIGN IN To post a reply.
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.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ThemeDictSample-859313134
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 <[email protected]>
Subject: Re: Syncfusion support community forum 146448, Change Only border FocusedColor, has been updated.
Sent: Monday, August 5, 2019 1:25 PM
To: Syncfusion Support <[email protected]>
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
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
LA Laerte Alexi
- Aug 4, 2019 04:23 PM UTC
- Aug 6, 2019 09:17 AM UTC