Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 7 results for Sorting.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Jul 26, 2010 (1 week ago)
    Paul Sheriff demonstrates two ways of using the CollectionViewSource to sort data. The first one is in XAML and in the second post Paul is using code.

    If you are using Silverlight's ListBox control, you do not have to write code to sort your data. Instead you can use the built-in CollectionViewSource object in XAML to perform the sorting for you. This assumes that you are using a collection that implements the IEnumerable or IList interfaces.



  • Grouping Data in a Silverlight DataGrid

    0 comments  /  posted by  Silverlight Show  on  Nov 05, 2009 (9 months ago)
    In this post Tim Heuer discusses DataGrid grouping.

     In Silverlight 3 you have access to PagedCollectionView (add a reference to System.Windows.Data to get it).  This is a view that enables you to add sort and group descriptors.  In my initial loading code I instantiate a new PagedCollectionView passing in my List<Person> as the enumerable type. 

  • Silverlight 3 Sorting and Paging

    0 comments  /  posted by  Silverlight Show  on  Nov 04, 2009 (9 months ago)
    Vincent Leung suggests you some ways to do sorting and paging in Silverlight 3 using DomainDataSource and DataPager.

    Silverlight 3 includes PagedCollectionView class, which provides UI-level grouping, sorting and paging functionality for any data source that implements the IEnumerable interface. This works as long as all the data that you need to sort, page are already fetched to the client which could be a slow process and can potentially consumed lots of memory on the client-side. A better solution is to provide Server-side sorting & paging. 

  • 0 comments  /  posted by  Silverlight Show  on  Oct 02, 2009 (10 months ago)
    This post updates the custom sorting technique that Manish Dalal originally posted for Silverlight 2 and adds paging support.

    Silverlight 3 includes PagedCollectionView class, which provides grouping, sorting, and paging functionality for any data source that implements the IEnumerable interface. This works as long as all the data that you need to sort (and/or page) is already fetched to the client. However when you are retrieving only a limited set of data from the server at a time, you need an alternative solution that does sorting on the server.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 11, 2009 (more than a year ago)
    Tags: Grouping , Sorting , Listbox , WPF

    Karl Shifflett is ready with the next sample in the WPF Sample Applications Series. This sample is the result of the question “how can I do multi-level grouping?” and provides a brief description of the problem, the solution and full source code.

    WPF provides the CollectionViewSource for codeless sorting and grouping of data.  The SortDescriptions and GroupDescriptions collections can be modified at runtime if desired.  The SortDescription provides the ability to set the sort direction as I’ve done for the Sales.

  • 16 comments  /  posted by  Martin Mihaylov  on  Apr 13, 2009 (more than a year ago)

    Introduction

    In this previous article we added a DomainDataSource control in our application and bounded it to a DataGrid and with their help we easily visualized our data. Now we are going to implement some more goodies into the application - sorting and filtering. We achieve that via the DomainDataSource control, as it provides such functionality and is really simple to use.

    Here are some links to the previous articles if you have missed them:

    Creating applications with .NET RIA Services Part 1 - Introduction

    Creating applications with .NET RIA Services Part 2 - Creating the project

    Creating applications with .NET RIA Services Part 3 - Adding a DomainService class

    Creating applications with .NET RIA Services Part 4 - Adding a DomainDataSource

    Here is a link to the live demo at this stage and the source code. Note that they will be updated with each article! ;)

  • Silverlight DataGrid NOT sorting when binding to IEnumerable<T>

    0 comments  /  posted by  Silverlight Show  on  Mar 26, 2009 (more than a year ago)
    Jason Jarrett has a small lesson for you about working with a Silverlight DataGrid.

    This may be common knowledge when working with a Silverlight DataGrid, or any grid control in .net. However, I fought through this lesson the other week.


Join the free SilverlightShow webinar 'Silverlight's Power Features: Data Binding in Action' on August 19th 2010, 10:00 am PDT.
In this session Gill Cleeren will make with a complete overview of the data binding features Silverlight 4 has to offer. He will discuss how data binding is the enabler for applying the MVVM pattern and commanding, and will end up reviewing Blend's support for data binding, including the use of design-time data. Read more | Register Now (hide this)