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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.