author | cavaliet |
Thu, 17 Sep 2009 13:06:22 +0200 | |
changeset 74 | 7ce946833eae |
parent 71 | 31900a35e162 |
child 125 | fab494cd9da7 |
child 143 | 9f157d9c725b |
permissions | -rw-r--r-- |
55 | 1 |
<UserControl |
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
6 |
xmlns:Custom="http://schemas.microsoft.com/surface/2008" |
|
7 |
mc:Ignorable="d" |
|
8 |
x:Class="FingersDance.Views.TimelineAnnotationView" |
|
71 | 9 |
xmlns:vw="clr-namespace:FingersDance.Views" |
55 | 10 |
x:Name="UserControl" |
74
7ce946833eae
First step of data binding where we can add an annotation by clicking on the timeline
cavaliet
parents:
71
diff
changeset
|
11 |
d:DesignWidth="640" d:DesignHeight="480" Width="40"> |
71 | 12 |
<UserControl.Resources> |
13 |
<vw:ThicknessSingleValueConverter x:Name="myThicknessSingleValueConverter" x:Key="myThicknessSingleValueConverter"></vw:ThicknessSingleValueConverter> |
|
14 |
</UserControl.Resources> |
|
15 |
<Grid x:Name="LayoutRoot" Margin="{Binding Path=TcBegin, Converter={StaticResource myThicknessSingleValueConverter}}"> |
|
74
7ce946833eae
First step of data binding where we can add an annotation by clicking on the timeline
cavaliet
parents:
71
diff
changeset
|
16 |
<Ellipse Fill="Green" Margin="-2,-3,0,0" Height="6" VerticalAlignment="Top" HorizontalAlignment="Left" Width="6" /> |
7ce946833eae
First step of data binding where we can add an annotation by clicking on the timeline
cavaliet
parents:
71
diff
changeset
|
17 |
<Rectangle Fill="Green" HorizontalAlignment="Left" VerticalAlignment="Top" Width="2" Height="20"/> |
7ce946833eae
First step of data binding where we can add an annotation by clicking on the timeline
cavaliet
parents:
71
diff
changeset
|
18 |
<Rectangle Fill="Green" HorizontalAlignment="Left" VerticalAlignment="Top" Width="{Binding Path=Dur}" Height="2" Margin="0,18,0,0"/> |
7ce946833eae
First step of data binding where we can add an annotation by clicking on the timeline
cavaliet
parents:
71
diff
changeset
|
19 |
<TextBox HorizontalAlignment="Left" Text="{Binding Path=GestureType}" Width="40" Margin="0,20,0,0"/> |
55 | 20 |
</Grid> |
21 |
</UserControl> |