Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I get the current position of the cursor in a basswordbox in WPF?
Posted
Updated 8-Dec-10 21:46pm
v2
Comments
Dalek Dave 9-Dec-10 3:46am    
Minor Edit for Grammar.

1 solution

Add Refernce of System.windows.form
then

To retrive x and y cordinate
code is like this
Cursor.Position.X;
Cursor.Position.Y;
 
Share this answer
 
Comments
Dalek Dave 9-Dec-10 3:46am    
Good Answer.
vivektp 10-Dec-10 7:05am    
For textbox we have SelectionStart property . The same is not there for passwordBox..... any alternatives?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900