Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如标题所示,我想知道WPF 样式中的属性触发器IsMouseOver和属性触发器有什么区别。IsHighlighted
IsMouseOver
IsHighlighted
有人知道吗?
IsHighlighted考虑任何输入设备(如键盘)以显示逻辑焦点。它不是DependencyObject级别依赖属性,据我研究,它仅适用于 WPF 中的以下 3 个控件:
DependencyObject
System.Windows.Controls.ComboBoxItem.IsHighlighted System.Windows.Controls.MenuItem.IsHighlighted System.Windows.Controls.Primitives.CalendarDayButton.IsHighlighted