Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between IsMouseOver and IsHighlighted in WPF styles

As in the title, I was wondering what is the difference between IsMouseOver and IsHighlighted property triggers in WPF styles.

Does anyone know?

like image 232
Sergio Avatar asked Sep 30 '13 23:09

Sergio


1 Answers

IsHighlighted takes any input device (like keyboard) into consideration for showing logical focus. It is not a DependencyObject level dependency property, as far as I researched it is available only for following 3 controls in WPF:

System.Windows.Controls.ComboBoxItem.IsHighlighted
System.Windows.Controls.MenuItem.IsHighlighted
System.Windows.Controls.Primitives.CalendarDayButton.IsHighlighted
like image 84
Rajiv Avatar answered Sep 19 '22 11:09

Rajiv