src/FingersDance.Control.ListVideo/UserControlListVideo.xaml
author sarias
Sun, 20 Sep 2009 18:02:37 +0200
changeset 77 e95e916eb018
parent 72 f1ca0958c992
child 84 067f4a6c0cca
permissions -rw-r--r--
Travail sur le Pivot et le control Session Input

<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	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}">

	<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>
			</StackPanel>
		</Custom:SurfaceListBox>
	</Grid>
</UserControl>