src/FingersDance.Control.Player/UserControlPlayer.xaml
changeset 202 e15e7110ef6d
parent 197 3455e574e096
child 215 d13dbcf861d7
equal deleted inserted replaced
201:16287a7d1f1a 202:e15e7110ef6d
   161 	</UserControl.Triggers>
   161 	</UserControl.Triggers>
   162     <Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Background="{x:Null}">
   162     <Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Background="{x:Null}">
   163     	<Viewbox Margin="0,0,0,0" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Stretch="Uniform" AllowDrop="True">
   163     	<Viewbox Margin="0,0,0,0" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Stretch="Uniform" AllowDrop="True">
   164     		<Grid Width="560" Height="400" HorizontalAlignment="Left" x:Name="GridPlayer">
   164     		<Grid Width="560" Height="400" HorizontalAlignment="Left" x:Name="GridPlayer">
   165     			<Grid.RowDefinitions>
   165     			<Grid.RowDefinitions>
   166     				<RowDefinition Height="0.305*"/>
   166     				<RowDefinition Height="0.898*"/>
   167     				<RowDefinition Height="0.593*"/>
       
   168     				<RowDefinition Height="0.102*"/>
   167     				<RowDefinition Height="0.102*"/>
   169     			</Grid.RowDefinitions>
   168     			</Grid.RowDefinitions>
   170     			<Grid.ColumnDefinitions>
   169     			<Grid.ColumnDefinitions>
   171     				<ColumnDefinition Width="0.912*"/>
   170     				<ColumnDefinition Width="0.912*"/>
   172     				<ColumnDefinition Width="0.088*"/>
   171     				<ColumnDefinition Width="0.088*"/>
   173     			</Grid.ColumnDefinitions>
   172     			</Grid.ColumnDefinitions>
   174     			<FingersDance_Control_Player:UserControlInfoUser Margin="0,-0.498,0,11.298" x:Name="usercontrolInfoUser" Grid.ColumnSpan="1" Grid.Row="2" Height="30"/>
   173     			<FingersDance_Control_Player:UserControlInfoUser Margin="0,-0.498,0,11.298" x:Name="usercontrolInfoUser" Grid.Column="0" Grid.Row="1" Height="30"/>
   175     			<MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" Grid.RowSpan="2" />
   174     			<MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" Grid.Column="0" Grid.Row="0" />
   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">
   175     			<StackPanel Opacity="1" Background="{x:Null}" x:Name="StackPanelAnnotation" Height="Auto" d:LayoutOverrides="Height" Margin="0,77,0,0" Grid.Column="1" Grid.Row="0">
   177     				<Rectangle x:Name="rect1" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" Margin="0.14,0"/>
   176     				<Rectangle x:Name="rect1" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" Margin="0.14,0"/>
   178     				<Rectangle x:Name="rect2" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   177     				<Rectangle x:Name="rect2" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   179     				<Rectangle x:Name="rect3" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   178     				<Rectangle x:Name="rect3" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000"/>
   180     				<Rectangle x:Name="rect4" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" VerticalAlignment="Bottom"/>
   179     				<Rectangle x:Name="rect4" Width="50" Height="50" Fill="{x:Null}" Stroke="#FF000000" VerticalAlignment="Bottom"/>
   181     			</StackPanel>
   180     			</StackPanel>
   182                 <GestureControl:GestureControl HorizontalAlignment="Stretch" x:Name="gestureControl" VerticalAlignment="Stretch" Content="" Grid.Row="1" GestureEvent="GestureDetected"/>
   181                 <GestureControl:GestureControl HorizontalAlignment="Stretch" x:Name="gestureControl" VerticalAlignment="Stretch" Content="" Grid.Row="0" GestureEvent="GestureDetected"/>
   183     		</Grid>
   182     		</Grid>
   184     	</Viewbox>
   183     	</Viewbox>
   185     </Grid>
   184     </Grid>
   186  </UserControl>
   185  </UserControl>