views:

10

answers:

0

When using Int32 animation like this

<Int32Animation Storyboard.TargetName="stagesToGameTabControl" Storyboard.TargetProperty="SelectedIndex" From="0" To="1" BeginTime="0:0:8" Duration="0:0:0" />

when i click by my own on tabitems, raises exception InvalidCastException. Why it raises and how can i fix this?