改变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

你可能感兴趣的:(index)