'Missing cursors in WPF
Windows Forms has the cursor types Cursors.NoMoveHoriz, Cursors.NoMoveVert and Cursors.Default.
These identifiers do not exist in WPF. Is there a way to obtain them anyway (without a reference to WinForms) ?
Solution 1:[1]
I think these Cursors just have different names in WPF.
Cursors.NoMoveHorizisCursors.ScrollWECursors.NoMoveVertisCursors.ScrollNSCursors.DefaultisCursors.None
At least that's what this .NET fx source code suggests: https://www.dotnetframework.org/default.aspx/Dotnetfx_Vista_SP2/Dotnetfx_Vista_SP2/8@0@50727@4016/DEVDIV/depot/DevDiv/releases/Orcas/QFE/wpf/src/WinFormsIntegration/System/Windows/Integration/Convert@cs/1/Convert@cs
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | lidqy |
