改变ItemsControl中Item的zIndex

<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

posted on 2012-09-20 11:58  白开水易拉罐  阅读(538)  评论(0编辑  收藏  举报