WPF Grid IsMouseOver Property

前端 未结 2 1563
孤独总比滥情好
孤独总比滥情好 2021-02-07 09:10

The WPF Grid has an \"IsMouseOver\" property that you can use in the Grid\'s Style\'s Triggers.

My problem is that the \"IsMouseOver\" property only changes if the mous

2条回答
  •  我在风中等你
    2021-02-07 09:45

    Your problem is that the Grid itself is not hit-testable because it has no background. Try this instead:

    
    

提交回复
热议问题