Hi,
I have a list box where I set the items to be in a wrappanel in the ItemsPanel.
Essentailly Im trying to have the item scale larger as the mouse moves over the item (Using EventTriggers animation). However since the items are in a warp panel, when they scale, the item is obscured by the next item in the listbox. I have tried chaigng the Panel.ZIndex of the ListBoxItem but this does not work.
Any ideas?
Below is the folowwing code
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<EventTrigger RoutedEvent="Mouse.MouseLeave">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetName="imgFilmStripScaleTransform" Storyboard.TargetProperty="ScaleX" Duration="0:0:0.3">
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="imgFilmStripScaleTransform" Storyboard.TargetProperty="ScaleY" Duration="0:0:0.3">
</DoubleAnimation>
<Int32Animation Storyboard.TargetName="filmStripBorder" Storyboard.TargetProperty="(Panel.ZIndex)" To="1" Duration="0:0:0.3">
</Int32Animation>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Border.Triggers>
</Border>