src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml
author sarias
Sat, 12 Sep 2009 22:57:52 +0200
changeset 46 f1a26ca4177e
parent 45 f003ae353cd7
child 51 3ccbb54d4551
permissions -rw-r--r--
Travail sur le UserControlPivot + changement de design.

<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"
    xmlns:FingersDance_Control_Player="clr-namespace:FingersDance.Control.Player;assembly=FingersDance.Control.Player"
    xmlns:FingersDance_Control_TimeLine="clr-namespace:FingersDance.Control.TimeLine;assembly=FingersDance.Control.TimeLine"
	x:Class="FingersDance.Control.SyncSource.UserControlSyncSource"
	x:Name="UserControl" Height="384" Width="512">

    <Grid x:Name="LayoutRoot" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}">
        <Grid VerticalAlignment="Top" Height="50" x:Name="GridTimeLine">
        	<FingersDance_Control_TimeLine:UserControlTimeLine Margin="0,0,0,20" Height="Auto" x:Name="UserControlTimeLine" DragStarted="UserControlTimeLine_DragStarted" DragCompleted="UserControlTimeLine_DragCompleted" TimerTick="UserControlTimeLine_TimerTick" Width="{Binding Path=ActualWidth, ElementName=LayoutRoot, Mode=Default}" HorizontalAlignment="Left" d:LayoutOverrides="Height" Background="{x:Null}"/>
        </Grid>
        <Grid HorizontalAlignment="Stretch" Width="Auto" Height="Auto" VerticalAlignment="Stretch" x:Name="GridPlayer" Margin="0,54,0,0">
        	<FingersDance_Control_Player:UserControlPlayer PlayerOpened="UserControlPlayer_PlayerOpened" x:Name="UserControlPlayer" VerticalAlignment="Stretch" d:LayoutOverrides="GridBox" Width="{Binding Path=ActualWidth, ElementName=GridPlayer, Mode=Default}" Margin="0,0,0,0" Height="{Binding Path=ActualHeight, ElementName=GridPlayer, Mode=Default}" />
        </Grid>
    </Grid>
</UserControl>