I have a ListView with several GridViewColumns (Title, Start, Due). So how can I bind an object with a string Title, datetime Start, and datetime Due. In procedural code I have already stated:
lvwFill.ItemsSource = assignments.ListAssignments(); //Returns a List<Assignments>
So now my XAML is:
<ListView x:Name="lvwFill">
<ListView.View>
<GridView>
<GridViewColumn x:Name="TitleColumn" Header="Title" Width="125" />
<GridViewColumn x:Name="DueColumn" Header="Due" Width="75" />
<!-- ... -->
</GridView>
</ListView.View>
</ListView>
So how can I list each assignment and ONLY show certain information like assignment.Title or assignment.Due?