src/FingersDance.Views/TimelineAnnotationView.xaml
changeset 74 7ce946833eae
parent 71 31900a35e162
child 125 fab494cd9da7
child 143 9f157d9c725b
equal deleted inserted replaced
71:31900a35e162 74:7ce946833eae
     6 	xmlns:Custom="http://schemas.microsoft.com/surface/2008"
     6 	xmlns:Custom="http://schemas.microsoft.com/surface/2008"
     7 	mc:Ignorable="d"
     7 	mc:Ignorable="d"
     8 	x:Class="FingersDance.Views.TimelineAnnotationView"
     8 	x:Class="FingersDance.Views.TimelineAnnotationView"
     9     xmlns:vw="clr-namespace:FingersDance.Views"
     9     xmlns:vw="clr-namespace:FingersDance.Views"
    10 	x:Name="UserControl"
    10 	x:Name="UserControl"
    11 	d:DesignWidth="640" d:DesignHeight="480">
    11 	d:DesignWidth="640" d:DesignHeight="480" Width="40">
    12     <UserControl.Resources>
    12     <UserControl.Resources>
    13         <vw:ThicknessSingleValueConverter x:Name="myThicknessSingleValueConverter" x:Key="myThicknessSingleValueConverter"></vw:ThicknessSingleValueConverter>
    13         <vw:ThicknessSingleValueConverter x:Name="myThicknessSingleValueConverter" x:Key="myThicknessSingleValueConverter"></vw:ThicknessSingleValueConverter>
    14     </UserControl.Resources>
    14     </UserControl.Resources>
    15     <Grid x:Name="LayoutRoot" Margin="{Binding Path=TcBegin, Converter={StaticResource myThicknessSingleValueConverter}}">
    15     <Grid x:Name="LayoutRoot" Margin="{Binding Path=TcBegin, Converter={StaticResource myThicknessSingleValueConverter}}">
    16         <Rectangle Fill="Green" HorizontalAlignment="Left" VerticalAlignment="Top" Width="4" Height="20"/>
    16         <Ellipse Fill="Green" Margin="-2,-3,0,0" Height="6" VerticalAlignment="Top" HorizontalAlignment="Left" Width="6" />
    17         <TextBox Text="{Binding Path=GestureType}" Width="100" Margin="5,0,0,0"/>
    17         <Rectangle Fill="Green" HorizontalAlignment="Left" VerticalAlignment="Top" Width="2" Height="20"/>
       
    18         <Rectangle Fill="Green" HorizontalAlignment="Left" VerticalAlignment="Top" Width="{Binding Path=Dur}" Height="2" Margin="0,18,0,0"/>
       
    19         <TextBox HorizontalAlignment="Left" Text="{Binding Path=GestureType}" Width="40" Margin="0,20,0,0"/>
    18     </Grid>
    20     </Grid>
    19 </UserControl>
    21 </UserControl>