¿Cómo encontrar la posición del cursor en PasswordBbox en wpf?
Frecuentes
Visto 1,080 veces
0
In above figure, The cursor is blinking after three text values in PasswordBox.Now i want to find, where the cursor is currently blinking.
1 Respuestas
0
The PasswordBox does not expose any way to get/set the position of the carat.
It may have a non-public property that you can access via reflection (see this pregunta relacionada) but there's definitely no 'proper' way to do it.
contestado el 23 de mayo de 17 a las 13:05
I've got solution to set set the carat from your link what you posted here.But how can i get the carat with using reflection in dynamically ? - ASHOK A
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas c# wpf passwordbox or haz tu propia pregunta.
Just to help your search : what you want to look for is "CaretIndex"... - franssu