3

The WPF Cursors.Cross becomes invisible on a gray (#ff808080) background.

I noticed the cross cursor automatically inverts the background color for better visual perception. But in case of gray color, the inversion algorithm doesn't work so well. See picture below:

WPF invisible Cross cursor

Windows10, .net 4.5

Note: Might be related to Caret disappears when the background of a textbox is gray in wpf but the proposed solution does not apply for the mouse cursor.

Community
  • 1
  • 1
tpol
  • 910
  • 10
  • 16

0 Answers0