src/FingersDance.Control.Player/UserControlPlayer.xaml
changeset 197 3455e574e096
parent 193 96374d03e714
child 202 e15e7110ef6d
equal deleted inserted replaced
196:e738cd9c1b99 197:3455e574e096
   126 				</Style>
   126 				</Style>
   127 			</Style.BasedOn>
   127 			</Style.BasedOn>
   128 		</Style>
   128 		</Style>
   129 		<Storyboard x:Key="Rect1Annotation">
   129 		<Storyboard x:Key="Rect1Annotation">
   130 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect1" Storyboard.TargetProperty="(UIElement.Opacity)">
   130 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect1" Storyboard.TargetProperty="(UIElement.Opacity)">
   131 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
   131 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
   132 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1" KeySpline="0,0,0.5,1"/>
   132 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1" KeySpline="0,0,0.5,1"/>
   133 				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/>
       
   134 			</DoubleAnimationUsingKeyFrames>
   133 			</DoubleAnimationUsingKeyFrames>
   135 		</Storyboard>
   134 		</Storyboard>
   136 		<Storyboard x:Key="Rect2Annotation">
   135 		<Storyboard x:Key="Rect2Annotation">
   137 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect2" Storyboard.TargetProperty="(UIElement.Opacity)">
   136 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect2" Storyboard.TargetProperty="(UIElement.Opacity)">
   138 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
   137 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
   139 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1" KeySpline="0,0,0.5,1"/>
   138 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1" KeySpline="0,0,0.5,1"/>
   140 				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/>
       
   141 			</DoubleAnimationUsingKeyFrames>
   139 			</DoubleAnimationUsingKeyFrames>
   142 		</Storyboard>
   140 		</Storyboard>
   143 		<Storyboard x:Key="Rect3Annotation">
   141 		<Storyboard x:Key="Rect3Annotation">
   144 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect3" Storyboard.TargetProperty="(UIElement.Opacity)">
   142 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect3" Storyboard.TargetProperty="(UIElement.Opacity)">
   145 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
   143 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
   146 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
   144 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1"/>
   147 				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/>
       
   148 			</DoubleAnimationUsingKeyFrames>
   145 			</DoubleAnimationUsingKeyFrames>
   149 		</Storyboard>
   146 		</Storyboard>
   150 		<Storyboard x:Key="Rect4Annotation">
   147 		<Storyboard x:Key="Rect4Annotation">
   151 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect4" Storyboard.TargetProperty="(UIElement.Opacity)">
   148 			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rect4" Storyboard.TargetProperty="(UIElement.Opacity)">
   152 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
   149 				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
   153 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1" KeySpline="0,0,0.5,1"/>
   150 				<SplineDoubleKeyFrame KeyTime="00:00:01" Value="1" KeySpline="0,0,0.5,1"/>
   154 				<SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/>
       
   155 			</DoubleAnimationUsingKeyFrames>
   151 			</DoubleAnimationUsingKeyFrames>
   156 		</Storyboard>
   152 		</Storyboard>
   157 	</UserControl.Resources>
   153 	</UserControl.Resources>
   158 	<UserControl.Triggers>
   154 	<UserControl.Triggers>
   159 		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
   155 		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
   176     				<ColumnDefinition Width="0.088*"/>
   172     				<ColumnDefinition Width="0.088*"/>
   177     			</Grid.ColumnDefinitions>
   173     			</Grid.ColumnDefinitions>
   178     			<FingersDance_Control_Player:UserControlInfoUser Margin="0,-0.498,0,11.298" x:Name="usercontrolInfoUser" Grid.ColumnSpan="1" Grid.Row="2" Height="30"/>
   174     			<FingersDance_Control_Player:UserControlInfoUser Margin="0,-0.498,0,11.298" x:Name="usercontrolInfoUser" Grid.ColumnSpan="1" Grid.Row="2" Height="30"/>
   179     			<MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" Grid.RowSpan="2" />
   175     			<MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" Grid.RowSpan="2" />
   180     			<StackPanel Opacity="1" Background="{x:Null}" x:Name="StackPanelAnnotation" Height="Auto" d:LayoutOverrides="Height" Margin="-1,77.8,0,0" Grid.Column="1" Grid.Row="1" Grid.RowSpan="2">
   176     			<StackPanel Opacity="1" Background="{x:Null}" x:Name="StackPanelAnnotation" Height="Auto" d:LayoutOverrides="Height" Margin="-1,77.8,0,0" Grid.Column="1" Grid.Row="1" Grid.RowSpan="2">
   181     				<Rectangle x:Name="rect1" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   177     				<Rectangle x:Name="rect1" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" Margin="0.14,0"/>
   182     				<Rectangle x:Name="rect2" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   178     				<Rectangle x:Name="rect2" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   183     				<Rectangle x:Name="rect3" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   179     				<Rectangle x:Name="rect3" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   184     				<Rectangle x:Name="rect4" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" VerticalAlignment="Bottom"/>
   180     				<Rectangle x:Name="rect4" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" VerticalAlignment="Bottom"/>
   185     			</StackPanel>
   181     			</StackPanel>
   186                 <GestureControl:GestureControl HorizontalAlignment="Stretch" x:Name="gestureControl" VerticalAlignment="Stretch" Content="" Grid.Row="1" GestureEvent="GestureDetected"/>
   182                 <GestureControl:GestureControl HorizontalAlignment="Stretch" x:Name="gestureControl" VerticalAlignment="Stretch" Content="" Grid.Row="1" GestureEvent="GestureDetected"/>