eventtriggers

WPF Trigger for IsSelected in a DataTemplate for ListBox items

Hi, I have a listbox, and I have the following ItemTemplate for it: <DataTemplate x:Key="ScenarioItemTemplate"> <Border Margin="5,0,5,0" Background="#FF3C3B3B" BorderBrush="#FF797878" BorderThickness="2" CornerRadius="5"> <DockPanel> <DockPanel DockPanel.Dock="Top" Margin="0,2,0,0"> ...

How Can I Animate Mouse Over Event Using WPF Triggers For a Tab Item?

I have overriden tabitem template and created my own custom style. however, I'm not sure how to write event triggers for mouse over event. ...