DataTemplate « Windows Presentation Foundation « VB.Net






1.Use DataTemplate in ListBoxUse DataTemplate in ListBox
2.ListBox binds to the people collection, and sets the DataTemplate to use for displaying each item
3.Without specifying a DataTemplate, the ListBox displays a list of names.Without specifying a DataTemplate, the ListBox displays a list of names.
4.Enables sorting of data in ascending or descending order according to the contents of one column.Enables sorting of data in ascending or descending order according to the contents of one column.
5.Defines the contents of column headers and cells by using templates.Defines the contents of column headers and cells by using templates.