Posted
on Jul 7, 2011
(permalink)
I have a jump list where I've set the filter and sort via the XAML. What's the best solution for moving these settings in to the code where I can have UI events set them. An example is having a list of items with names, dates and locations. I want to be able to change this sorting on the fly and have the RadJumpList display it in real time.
Reply
Answer
Deyan
Deyan
Posted
on Jul 11, 2011
(permalink)
Hi Erik,
Thanks for contacting us and for your questions.
Please, take a look at the help contents available online regarding RadJumpList. You will find useful examples there which demonstrate how you could programmatically modify the
GroupDescriptors and
SortDescriptors collections to dynamically group and sort the data items in RadJumpList:
http://www.telerik.com/help/windows-phone/radjumplist-features-group-descriptors.html
I hope this helps.
All the best,
Deyan
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Reply
Posted
on Jul 12, 2011
(permalink)
Thanks, this works perfect. I kept it simple and used a basic property.
var groupByEvent = new PropertyGroupDescriptor { PropertyName = "EventDate" };
MainCalendar.GroupDescriptors.Add(groupByEvent);
var sortByTitle = new PropertySortDescriptor { PropertyName = "Artists" };
MainCalendar.SortDescriptors.Add(sortByTitle);
Super easy!
Reply