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

Change cursor colorin iOS

Thread ID:





147352 Sep 6,2019 05:50 PM UTC Sep 9,2019 07:14 AM UTC Xamarin.Forms 1
Tags: SfMaskedEdit
Laerte Alexi
Asked On September 6, 2019 05:50 PM UTC

How I change cursor color in SfMaskedEdit in IOS? On Android, I change in style.xml ( <item name="colorAccent">#4D6C80</item>)

Rachel A [Syncfusion]
Replied On September 9, 2019 07:14 AM UTC

Hi Laerte, 
Greetings from Syncfusion. 
We can set the cursor color for mask edit in iOS platform by setting TintColor in Custom Renderer class as in the below code snippet. 
public class MaskEditExtSfMaskedEdit

[assemblyExportRenderer(typeof(MaskEditExt), typeof(MaskEditRendererios))]
namespace maskedit1.iOS
    public class MaskEditRendererios : SfMaskedEditRenderer
        protected override void OnElementChanged(ElementChangedEventArgs<SfMaskedEdit> e)
            Control.TintColor = UIColor.Purple;
Please let us know if you need any further assistance. 


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