P
P
poimanoo2018-10-28 12:24:44
Xamarin
poimanoo, 2018-10-28 12:24:44

Xamarin - how to change cursor position in input field?

Hello. I'm trying to change the cursor position in the Entry input field. The documentation says that the Entry has a CursorPosition property, but I do not have it, that is, I have an error that I am trying to use a non-existent property. Tried it like that

<Entry Text="Cursor position set" CursorPosition="5" />
so
var entry = new Entry { Text = "Cursor position and selection length set", CursorPosition = 2 };
- writes no properties. What can be wrong? Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question