src/FingersDance.Control.ListVideo/UserControlListVideo.xaml
changeset 84 067f4a6c0cca
parent 77 e95e916eb018
child 86 ce57adfac3b0
equal deleted inserted replaced
83:841de52a9f83 84:067f4a6c0cca
     4 	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     4 	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
     5 	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     5 	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     6 	mc:Ignorable="d"
     6 	mc:Ignorable="d"
     7 	x:Class="FingersDance.Control.ListVideo.UserControlListVideo"
     7 	x:Class="FingersDance.Control.ListVideo.UserControlListVideo"
     8 	x:Name="UserControl"
     8 	x:Name="UserControl"
     9 	Width="404" Height="272.56" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Background="{x:Null}">
     9 	Width="478" Height="288.56" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Background="{x:Null}">
    10 
    10 
    11 	<Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}">
    11 	<Grid x:Name="LayoutRoot">
    12 		<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">
    12 		<Custom:SurfaceListBox IsSynchronizedWithCurrentItem="True" Background="{x:Null}" ScrollViewer.VerticalScrollBarVisibility="Hidden" x:Name="ListBoxVideos" VerticalAlignment="Top" Height="167.56" Margin="8,0">
    13 			<StackPanel Width="404" Height="272.56" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="StackPanel">
    13 			<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="stackPanel" RenderTransformOrigin="0.5,0.5">
    14 				<Custom:SurfaceListBoxItem Width="200" Height="200" Background="#00FFFFFF" x:Name="ItemVideo1" ContactTapGesture="ItemVideo1_ContactTapGesture">
    14 				<StackPanel.RenderTransform>
    15 					<Image Width="200" Height="200" Source="Butterfly.jpg"/>
    15 					<TransformGroup>
    16 				</Custom:SurfaceListBoxItem>
    16 						<ScaleTransform/>
    17 				<Custom:SurfaceListBoxItem Width="200" Height="200" x:Name="ItemVideo2">
    17 						<SkewTransform AngleY="-0.182"/>
    18 					<Image Width="200" Height="200" Source="Lake.jpg"/>
    18 						<RotateTransform/>
    19 				</Custom:SurfaceListBoxItem>
    19 						<TranslateTransform Y="-0.497"/>
       
    20 					</TransformGroup>
       
    21 				</StackPanel.RenderTransform>
    20 			</StackPanel>
    22 			</StackPanel>
    21 		</Custom:SurfaceListBox>
    23 		</Custom:SurfaceListBox>
       
    24 		<Custom:SurfaceTextBox x:Name="PathImporter" Margin="152,0,104.427,71.81" VerticalAlignment="Bottom" TextWrapping="Wrap" Height="20" d:LayoutOverrides="VerticalAlignment"/>
       
    25 		<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"/>
       
    26 		<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"/>
       
    27 		<Custom:SurfaceButton HorizontalAlignment="Right" Margin="0,0,104.427,8" VerticalAlignment="Bottom" Width="76" Height="21" Content="Ok"/>
       
    28 		<Custom:SurfaceButton HorizontalAlignment="Right" Margin="0,0,14,8" VerticalAlignment="Bottom" Width="76" Height="30" Content="Annuler"/>
    22 	</Grid>
    29 	</Grid>
    23 </UserControl>
    30 </UserControl>