I have the following simple datatemplate within a flipview.
<FlipView x:Name="MyFlipview" ItemsSource="{x:Bind Path=ViewModel.Fleas}" >
<FlipView.ItemTemplate>
<DataTemplate x:DataType="types:FleaType">
<TextBox x:Name ="Header" Text= "{Binding Path = ViewModel.GeneralComment}"></TextBox>
<TextBox x:Name ="FleaName" Text= "{Binding Path = FleaName}"></TextBox>
</DataTemplate>
</FlipView.ItemTemplate>
</FlipView>
But I dont know how to bind the Header textbox to generalcomment on the viewmodel as Generalcomment isnt part of the fleas collection. If anyone knows how to accomplish this it'd be much appreciated.
Thanks