<Style TargetType="ListBoxItem"><!-- 没有被选中就是有点模糊 --><Setter Property="Opacity" Value="0.5" /><Setter Property="MaxHeight" Value="75" /><Style.Triggers><!-- 触发器设置选中了就取消模糊变正常 --><Trigger Property="IsSelected" Value="True"><Setter Property="Opacity" Value="1.0" /></Trigger><!-- 鼠标进入 --><EventTrigger RoutedEvent="Mouse.MouseEnter"><EventTrigger.Actions><BeginStoryboard><Storyboard><DoubleAnimationStoryboard.TargetProperty="MaxHeight"To="90"Duration="0:0:0.2" /></Storyboard></BeginStoryboard></EventTrigger.Actions></EventTrigger><!-- 鼠标离开 --><EventTrigger RoutedEvent="Mouse.MouseLeave"><EventTrigger.Actions><BeginStoryboard><Storyboard><DoubleAnimation Storyboard.TargetProperty="MaxHeight" Duration="0:0:1" /></Storyboard></BeginStoryboard></EventTrigger.Actions></EventTrigger></Style.Triggers>
</Style>
相关:http://t.csdnimg.cn/sOlIv