What would be the best way to do this?
Asked
Active
Viewed 4,007 times
1
-
Possible duplicate of [How to bind SelectionStart Property of Text Box?](https://stackoverflow.com/questions/1175618/how-to-bind-selectionstart-property-of-text-box) – Zev Spitz Oct 10 '19 at 08:21
1 Answers
3
The following - "How to bind SelectionStart Property of Text Box?", asks a similar question and correctly indicates that SelectionStart cannot be bound to is it is not a dependency property (and this is true for SelectionLength as well). Further down a couple of work-arounds have been provided; one using custom textbox (this would be my preference), and another using attached behaviours.