I have a WPF window that is completely transparent with no title bar that contains a few buttons. How can I drag just the controls around?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Download the DragCanvas.cs from here
its inherited from
Canvascontrol give it a transparent background, and it’ll do the job for you.You can also add a DragCanvas as child to another DragCanvas and move many controls at the same time
there is no code behind this just click on the image and drag
and