Set Custom Cursor Image Hotspot in WPF
问题 I am trying to use custom images on Cursor and I did it with these code. public static class cursorHelper { public static Cursor vertical = new Cursor(Application.GetResourceStream(getFromResource("PenCADwpf", "Images/cursors/Vertical.ico")).Stream); public static Cursor horizontal = new Cursor(Application.GetResourceStream(getFromResource("PenCADwpf", "Images/cursors/Horizontal.ico")).Stream); public static Uri getFromResource(string psAssemblyName, string psResourceName) { Uri oUri = new