Text Selection Color

Hello,

How is it possible to set the color when text is selected?


In SfAutocomplete there is a property "SelectionTextHighlightColor" which does exactly what I need for SfNumericEntry.

Btw. There are some inconsistencies between your controls. 

Example:

SfNumericEntry
SfAutocomplete
- Missing -
SelectionTextHighlightColor
SelectAllOnFocus - Missing -
ClearButtonColorClearButtonIconColor


This is surprising as the base for both is Entry .


Thanks!

Regards

Michael 


 




2 Replies

TA Tameem Ansari Yousoof Iqbal Syncfusion Team May 18, 2026 01:33 PM UTC

Hi Michael,

Currently, we are validating the reported query at our end and we will let you know the details on May 19, 2026. We appreciate your patience until then.

 

Regards,

Tameem



TA Tameem Ansari Yousoof Iqbal Syncfusion Team May 19, 2026 01:17 PM UTC

Hi Michael,

We have considered your requirement for Implement the SelectionTextHighlightColor property for the .NET MAUI SfNumericEntry as a feature request from our end. Currently, we do not have any immediate plans to implement this feature.

You can track the progress using the link below:

Implement the SelectionTextHighlightColor property for the .NET MAUI SfNumericEntry in .NET MAUI | …

Please cast your vote to make it count. We will prioritize the features in every release based on the demands. So, this feature will be available in any of our upcoming releases. We’ll share updates once it is scheduled for release.

 

As a current workaround:

  • In the Loaded event method, you can access the framework Entry child and apply platform‑specific highlight color customization for Windows, Android, and iOS.
  • For the Mac Catalyst platform, you need to add the following code in the MauiProgram.cs file:
#if MACCATALYST
UIKit.UITextField.Appearance.TintColor = UIKit.UIColor.Green;
#endif

Please note:

  • The Loaded event method workaround applies highlight color only for the specific SfNumericEntry instance on Windows, Android, and iOS.
  • The MauiProgram.cs workaround for Mac Catalyst applies the color globally to all Entry controls in the application.

For reference, please check the shared sample file that demonstrates these workarounds.

 

Please feel free to reach out if you have any further questions.

 

Regards,

Tameem.




Attachment: Sample_1f19cf.zip

Loader.
Up arrow icon