src/FingersDance.Control.ListVideo/UserControlListVideo.xaml
changeset 84 067f4a6c0cca
parent 77 e95e916eb018
child 86 ce57adfac3b0
--- a/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml	Wed Sep 23 12:08:58 2009 +0200
+++ b/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml	Wed Sep 23 16:47:42 2009 +0200
@@ -6,18 +6,25 @@
 	mc:Ignorable="d"
 	x:Class="FingersDance.Control.ListVideo.UserControlListVideo"
 	x:Name="UserControl"
-	Width="404" Height="272.56" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Background="{x:Null}">
+	Width="478" Height="288.56" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Background="{x:Null}">
 
-	<Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}">
-		<Custom:SurfaceListBox IsSynchronizedWithCurrentItem="True" Background="{x:Null}" ScrollViewer.VerticalScrollBarVisibility="Hidden" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" x:Name="ListBoxVideos">
-			<StackPanel Width="404" Height="272.56" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="StackPanel">
-				<Custom:SurfaceListBoxItem Width="200" Height="200" Background="#00FFFFFF" x:Name="ItemVideo1" ContactTapGesture="ItemVideo1_ContactTapGesture">
-					<Image Width="200" Height="200" Source="Butterfly.jpg"/>
-				</Custom:SurfaceListBoxItem>
-				<Custom:SurfaceListBoxItem Width="200" Height="200" x:Name="ItemVideo2">
-					<Image Width="200" Height="200" Source="Lake.jpg"/>
-				</Custom:SurfaceListBoxItem>
+	<Grid x:Name="LayoutRoot">
+		<Custom:SurfaceListBox IsSynchronizedWithCurrentItem="True" Background="{x:Null}" ScrollViewer.VerticalScrollBarVisibility="Hidden" x:Name="ListBoxVideos" VerticalAlignment="Top" Height="167.56" Margin="8,0">
+			<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="stackPanel" RenderTransformOrigin="0.5,0.5">
+				<StackPanel.RenderTransform>
+					<TransformGroup>
+						<ScaleTransform/>
+						<SkewTransform AngleY="-0.182"/>
+						<RotateTransform/>
+						<TranslateTransform Y="-0.497"/>
+					</TransformGroup>
+				</StackPanel.RenderTransform>
 			</StackPanel>
 		</Custom:SurfaceListBox>
+		<Custom:SurfaceTextBox x:Name="PathImporter" Margin="152,0,104.427,71.81" VerticalAlignment="Bottom" TextWrapping="Wrap" Height="20" d:LayoutOverrides="VerticalAlignment"/>
+		<Label x:Name="LabelImporter" HorizontalAlignment="Left" Margin="14,0,0,67.81" VerticalAlignment="Bottom" Width="122" Height="28" Content="Importer une vidéo :" d:LayoutOverrides="VerticalAlignment"/>
+		<Custom:SurfaceButton x:Name="ButtonImporter" HorizontalAlignment="Right" Margin="0,0,14,66" VerticalAlignment="Bottom" Width="76" Height="17.96" Content="Importer" d:LayoutOverrides="VerticalAlignment" ContactDown="ButtonImporter_ContactDown" Click="ButtonImporter_Click"/>
+		<Custom:SurfaceButton HorizontalAlignment="Right" Margin="0,0,104.427,8" VerticalAlignment="Bottom" Width="76" Height="21" Content="Ok"/>
+		<Custom:SurfaceButton HorizontalAlignment="Right" Margin="0,0,14,8" VerticalAlignment="Bottom" Width="76" Height="30" Content="Annuler"/>
 	</Grid>
 </UserControl>
\ No newline at end of file