<UserControl x:Class="FingersDance.Views.TimelineView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vw="clr-namespace:FingersDance.Views"
    >
    <Grid>
        <ListView DataContext="{Binding Path=AnnotList}"
                  ItemsSource="{Binding}" Background="Black" BorderThickness="0" >

            <ListView.ItemTemplate>
                <DataTemplate>
                    <vw:TimelineAnnotationView/>
                </DataTemplate>
            </ListView.ItemTemplate>
            
            <ListView.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel Orientation="Horizontal"/>
                </ItemsPanelTemplate>
            </ListView.ItemsPanel>
            
            <!--ListView.View>
                <GridView>
                    <GridViewColumn 
                        Header="Gesture Type"
                        DisplayMemberBinding="{Binding Path=GestureType}"/>
                    <GridViewColumn 
                        Header="Tc Begin"
                        DisplayMemberBinding="{Binding Path=TcBegin}" />
                    <GridViewColumn 
                        Header="Dur"
                        DisplayMemberBinding="{Binding Path=Dur}" />
                </GridView>
            </ListView.View-->
        </ListView>
        <!--TextBlock Text="{Binding Path=Title}" Height="27" VerticalAlignment="Top" Margin="0,0,0,0" /-->
    </Grid>
</UserControl>
