This question is locked. New answers and comments are not allowed.
Hello!
I'm working on WP7 application with JumpList with grouping.
I group the records by city name, some records has empty City name, I group such items into a group "Without City".
Also I sort groups asc or desc dynamicly.
And all working fine but I need that group "Without City" will be ALWAYS at the bottom of the list irrespective of the sorting
How could I do it?
GroupDescriptors = new List<
GenericGroupDescriptor
<Person, string>>();
GenericGroupDescriptor<
Person
, string> group = new GenericGroupDescriptor<
Person
, string>();
group.SortMode = SortMode;
group.KeySelector = (person) =>
{
return person.City == "" ? person.City :"Without City"
;
};
GroupDescriptors.Add(group);