Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all
C#
<pre lang="c#">


can anyone tell me, what are the drag and move methods in WPF??????(i use in window none style method it doesn't support minimized,maximized and move methods)

thanks.....
Posted

1 solution

I don't think you are talking about drag-n-drop in WPF (if you do, you will find a big section in documentation, with good introductory article). As I understand, with None style, you simply lost the title bar normally used for dragging. Therefore, you need to implement appropriate handlers for the window mouse events. This is pretty simple; you only need to apply some logic to design it.

Try to do it on a simplest sample project. If you fail to complete it, please show your code (use "Improve question" above) to get more help.

—SA
 
Share this answer
 

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