SelectionStart.Offset not right in TextBlock?

mc 4,516 Reputation points
2022-10-08T06:57:05.283+00:00

the offset of the SelectionStart is not right how to get the startIndex and endIndex?

it is in unicode.

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.