55
|
1 |
<UserControl x:Class="FingersDance.Views.TimelineView"
|
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
70
|
4 |
xmlns:vw="clr-namespace:FingersDance.Views"
|
55
|
5 |
Height="300" Width="300">
|
|
6 |
<Grid>
|
|
7 |
<TextBlock Text="{Binding Path=Title}" Height="27" VerticalAlignment="Top" Margin="0,0,132,0" />
|
70
|
8 |
|
|
9 |
<ListView Margin="0,25,0,0"
|
55
|
10 |
DataContext="{Binding Path=AnnotList}"
|
70
|
11 |
ItemsSource="{Binding}" >
|
|
12 |
|
|
13 |
<ListView.ItemTemplate>
|
|
14 |
<DataTemplate>
|
|
15 |
<vw:TimelineAnnotationView/>
|
|
16 |
</DataTemplate>
|
|
17 |
</ListView.ItemTemplate>
|
|
18 |
|
|
19 |
<ListView.ItemsPanel>
|
|
20 |
<ItemsPanelTemplate>
|
|
21 |
<StackPanel Orientation="Horizontal"/>
|
|
22 |
</ItemsPanelTemplate>
|
|
23 |
</ListView.ItemsPanel>
|
|
24 |
|
|
25 |
<!--ListView.View>
|
55
|
26 |
<GridView>
|
|
27 |
<GridViewColumn
|
|
28 |
Header="Gesture Type"
|
70
|
29 |
DisplayMemberBinding="{Binding Path=GestureType}"/>
|
69
|
30 |
<GridViewColumn
|
|
31 |
Header="Tc Begin"
|
|
32 |
DisplayMemberBinding="{Binding Path=TcBegin}" />
|
|
33 |
<GridViewColumn
|
|
34 |
Header="Dur"
|
|
35 |
DisplayMemberBinding="{Binding Path=Dur}" />
|
55
|
36 |
</GridView>
|
70
|
37 |
</ListView.View-->
|
55
|
38 |
</ListView>
|
|
39 |
</Grid>
|
|
40 |
</UserControl>
|