我试图设置Storyboard.TargetProperty ="(UIElement.Projection)"财产和我收到一个错误,说明该成员"投影"无法识别或访问。有谁知道我错过了什么?
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Image Source="MyImage.bmp" Width="220" Height="220">
<Image.Triggers>
<EventTrigger RoutedEvent="Mouse.MouseDown">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotateX)" Duration="0:0:2" To="0" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Image.Triggers>
</Image>
</Grid>
</Window>