我无法通过C#代码捕获/触发列表项的OnMouseEnter或OnMouseLeave事件。要明确,我不需要OnSelectedItem事件。
我想做的是能够处理ListBoxItem的OnMouseEnter和OnMouseLeave事件,以启动该ListBoxItem的DoubleAnimation - 我想在MouseEnter时放大其字体,在MouseLeave时恢复到原始大小。
有什么想法吗?谢谢。
我想做的是能够处理ListBoxItem的OnMouseEnter和OnMouseLeave事件,以启动该ListBoxItem的DoubleAnimation - 我想在MouseEnter时放大其字体,在MouseLeave时恢复到原始大小。
有什么想法吗?谢谢。