我正在寻找:
Microsoft.Expression.Interactions版本4.0.0.0运行时版本v4.0.30319
和
Microsoft.Speech版本10.2.0.0运行时版本v2.0.50727
我可以下载它吗?
我在'FluidMoveBehavior'上看到以下错误.
The tag 'FluidMoveBehavior' does not exist in XML namespace
'http://schemas.microsoft.com/expression/2010/interactions'.
Line 22 Position 14.
Run Code Online (Sandbox Code Playgroud)
这是XAML文件:
<Window x:Class="GoogleMapProject.KinectOverlay"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
xmlns:GoogleMapProject_Behaviors="clr-namespaces:GoogleMapProject.Behaviors"
WindowState="Maximized" WindowStyle="None" Background="Transparent"
AllowsTransparency="True"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Height="300"
Width="300"
Title="KinectOverlay"
DataContext="{Binding PoseViewModel,
Source={StaticResource MainViewModel}}">
<Grid>
<i:Interaction.Behaviors>
<ei:FluidMoveBehavior AppliesTo="Children" Duration="0:0:0.5">
<ei:FluidMoveBehavior.EaseX>
<SineEase EasingMode="EaseInOut"/>
</ei:FluidMoveBehavior.EaseX>
<ei:FluidMoveBehavior.EaseY>
<SineEase EasingMode="EaseInOut"/>
</ei:FluidMoveBehavior.EaseY>
</ei:FluidMoveBehavior>
</i:Interaction.Behaviors>
<Canvas Background="Transparent"
DataContext="{Binding PoseViewModel,
Source={StaticResource MainViewModel}}">
<!-- Left hand -->
<Image Source="{Binding LeftHandImage}" x:Name="leftHand" Stretch="Fill"
Canvas.Left="{Binding LeftHandPosition.X, Mode=TwoWay}"
Canvas.Top="{Binding LeftHandPosition.Y, Mode=TwoWay}"
Visibility="{Binding HandVisibility}" Opacity="0.75"
Height="118" Width="80" RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform> …Run Code Online (Sandbox Code Playgroud)