MVVM- How can I bind SelectionStart and SelectionLength to textbox properties?

What would be the best way to do this?

+1
source share
1 answer

Next - How to bind the SelectionStart property of a text field? ", asks a similar question and correctly indicates that SelectionStart cannot be this non-dependency property (and this is true for SelectionLength ). In the future, several workarounds were provided; one using a custom text field (this would be my preference), and the other - using attached behaviors.

+3

All Articles