<!-- No corresponding C# code is needed for this example. -->
<ListView x:Name="Fruits">
<x:String>Apricot</x:String>
<x:String>Banana</x:String>
<x:String>Cherry</x:String>
<x:String>Orange</x:String>
<x:String>Strawberry</x:String>
</ListView>
Please verify and correct.
The sample code provided at paragraph "Option 1: Add Items through XAML" doesn't work:
Please verify and correct.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.