I need to set the cursorposition inside the passwordbox explicitlyin WPF. i couldn't see the selectionstart property in passwordbox.
Any help?
I need to set the cursorposition inside the passwordbox explicitlyin WPF. i couldn't see the selectionstart property in passwordbox.
Any help?
You can try something like this to set the selection in the PasswordBox:
After that, call it like this to set the cursor position:
No, the API for PasswordBox does not expose a way to do this.