79500802

Date: 2025-03-11 12:52:47
Score: 3
Natty:
Report link

@Jesse Chisholm's answer is great. I would just add the following:

menuHeader.IsHitTestVisible = false;

This allows mouse clicks on the textbox to be handled by parent (menuitem) and also avoids the mouse cursor change.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Jesse
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Eric L