ENTRY - SELECT CHARACTERS

Giorgio Sfiligoi 126 Reputation points
2022-04-20T08:27:09.927+00:00

I am developing a program in Xamarin and I have an Entry component.
I would like to prevent the user from selecting blocks of characters - is it possible?

Incidentally, during debugging I noticed in the Output view that selecting a block throws an exception:
Entry: Failed to set SelectionLength from renderer: System.ArgumentException: Value is an invalid value for SelectionLength
However this exception seems to be handled by the framework, as the program continues to run smoothly.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,006 questions
{count} votes