会员"投影"不被承认

时间:2017-03-30 16:50:33

标签: vb.net xaml

我试图设置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>

0 个答案:

没有答案