Kolika Bagchi

Kolika Bagchi

  • 1.6k
  • 33
  • 298

C# WPF- Trying to achieve WPF control movement same like Visual Studio

Jul 2 2024 1:20 PM

Using C# WPF, I am trying to achieve the below:
1. User should be able to move around a WPF control inside the window's boundary at runtime.

2. When the WPF control is being moved around by the user, the horizontal and vertical alignment lines should be visible (same like Visual Studio offers)

I have been able to achieve the 1st part but the horizontal and vertical alignment lines while WPF control movement is something I need help in. Would be great if anyone could help me with some ideas!


Answers (1)