PrepAway - Latest Free Exam Questions & Answers

Tag: SortDescriptions xaml

Which XAML code fragment should you use?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application contains a class named Place that has the following attributes:
* CityName: a string value that represents the name of a city
* State: a string value that represents the name of a state
* The application also has a collection of Place objects named places.
You need to create a Collection View on the places collection that meets the following requirements:
* The view is grouped by the state name.
* The view is sorted by the city name.
Which XAML code fragment should you use?