Are there any examples of databinding to the XamTimeline in XAML?
I am using MVVM and don't really want to be putting code in the code behind page as in the example at http://help.infragistics.com/Help/NetAdvantage/WPFDV/2011.2/CLR4.0/html/SL_DV_xamWebTimeline_Binding_to_Data_with_xamTimeline.html
I have had a go and go to:
<ig:XamTimeline HorizontalAlignment="Left" Margin="25,22,0,0" Name="xamTimeline" VerticalAlignment="Top">
<ig:XamTimeline.Series >
<ig:NumericTimeSeries DataContext="{Binding Path=Collection}" DataMapping="Time=Time;Duration=Duration;Title=Title;Details=Details"/>
</ig:XamTimeline.Series>
</ig:XamTimeline>
I found my error, the working example is:
<ig:XamTimeline HorizontalAlignment="Left" Margin="25,22,0,0" Name="xamTimeline" VerticalAlignment="Top" Grid.Row="1">
<ig:XamTimeline.Series D >
<ig:NumericTimeSeries Title="Data Binding" DataSource="{Binding Collection}" DataMapping="Time=Time;Duration=Duration;Title=Title;Details=Details"/>
Hello Ron,
I am glad that you have solved your issue.