I am using the source code based off the code posted for Winform Desktop Tracking overlay, but it is not working for WPF Component (it also does not work for Winform Desktop either)
Goal: Remove last vertex (in a polygon) added using Right mouse click.
Result: Even though the first time it runs okay. However it throws ArgumentOutOfRangeException.
Please find the attached source code.
TrackOverlay.zip (24.1 KB)