src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml
author PAMPHILE Jonathan <pamphile@efrei.fr>
Fri, 13 Nov 2009 20:10:00 +0100
changeset 195 48b3139bb182
parent 174 45c9e55fcf23
permissions -rw-r--r--
Dictionnaire de données

<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="100" x:Name="GridTimeLine">
        	<FingersDance_Control_TimeLine:UserControlTimeLine Margin="0,0,60,0" x:Name="UCTimeLine" DragStarted="UserControlTimeLine_DragStarted" DragCompleted="UserControlTimeLine_DragCompleted" TimerTick="UserControlTimeLine_TimerTick" d:LayoutOverrides="Height" Background="{x:Null}" />
        </Grid>
        <Grid HorizontalAlignment="Stretch" Width="Auto" Height="Auto" VerticalAlignment="Stretch" x:Name="GridPlayer" Margin="0,54,0,0">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="0.424*"/>
        		<RowDefinition Height="0.576*"/>
        	</Grid.RowDefinitions>
        	<FingersDance_Control_Player:UserControlPlayer PlayerOpened="UserControlPlayer_PlayerOpened" x:Name="UserControlPlayer" VerticalAlignment="Stretch" Width="{Binding Path=ActualWidth, ElementName=GridPlayer, Mode=Default}" Margin="0,0,0,0" Height="{Binding Path=ActualHeight, ElementName=GridPlayer, Mode=Default}" Grid.RowSpan="2" />
        </Grid>
    </Grid>
</UserControl>