Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
i am developing a drawing tool in WPF using c#.
But i can't create a text box that can be draged any where and then user can write any thing in it.

can some one provide an example?
Posted

1 solution

To implement dragable textbox you can create your custom textbox control and handle mouse down, mouse move and mouse leave events to implement the dragging functionality for your textbox.


Please see this link that implements draggable label.[^]
 
Share this answer
 
v2

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