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) ?
CodePudding user response:
I think these Cursors just have different names in WPF.
Cursors.NoMoveHoriz
isCursors.ScrollWE
Cursors.NoMoveVert
isCursors.ScrollNS
Cursors.Default
isCursors.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