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 cursor colorin iOS

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

1 Reply

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

Live Chat Icon For mobile
Up arrow icon