src/FingersDance.Control.ListVideo/UserControlListVideo.xaml
author sarias
Thu, 17 Sep 2009 08:31:15 +0200
changeset 72 f1ca0958c992
child 77 e95e916eb018
permissions -rw-r--r--
Travail sur le control List Video et comunication entre ListVideo et FingersDance
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
72
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     1
<UserControl
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     2
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     3
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     4
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     5
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     6
	mc:Ignorable="d"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     7
	x:Class="FingersDance.Control.ListVideo.UserControlListVideo"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     8
	x:Name="UserControl"
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
     9
	Width="404" Height="272.56" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Background="{x:Null}">
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    10
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    11
	<Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}">
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    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">
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    13
			<StackPanel Width="404" Height="272.56" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="StackPanel">
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    14
				<Custom:SurfaceListBoxItem Width="200" Height="200" Background="#00FFFFFF" x:Name="ItemVideo1" ContactDown="ItemVideo1_ContactDown" Selected="ItemVideo1_Selected" ContactTapGesture="ItemVideo1_ContactTapGesture">
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    15
					<Image Width="200" Height="200" Source="Butterfly.jpg"/>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    16
				</Custom:SurfaceListBoxItem>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    17
				<Custom:SurfaceListBoxItem Width="200" Height="200" x:Name="ItemVideo2" ContactDown="ItemVideo2_ContactDown">
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    18
					<Image Width="200" Height="200" Source="Lake.jpg"/>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    19
				</Custom:SurfaceListBoxItem>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    20
			</StackPanel>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    21
		</Custom:SurfaceListBox>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    22
	</Grid>
f1ca0958c992 Travail sur le control List Video et comunication entre ListVideo et FingersDance
sarias
parents:
diff changeset
    23
</UserControl>