<ItemsControl.ItemContainerStyle> <Style TargetType="{x:Type ContentPresenter}"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Panel.ZIndex" Value="99" /> </Trigger> </Style.Triggers> </Style> </ItemsControl.ItemContainerStyle>
改变ItemsControl中Item的zIndex