1

What would be the best way to do this?

Justin
  • 2,399
  • 4
  • 31
  • 50
  • 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 Answers1

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.

Community
  • 1
  • 1
Bermo
  • 4,921
  • 1
  • 28
  • 31