Skip to content

Instantly share code, notes, and snippets.

@dgwaldo
Created October 16, 2014 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgwaldo/676475486799971b053a to your computer and use it in GitHub Desktop.
Save dgwaldo/676475486799971b053a to your computer and use it in GitHub Desktop.
ListCollectionView Wireup with CustomSort
//Exmaple wire up of ListCollectionView in constructor
public FluidViewModel()
{
_fluidPoints = new ObservableCollection<FluidPointViewModel>();
FluidPointsSorted = new ListCollectionView(_fluidPoints) { CustomSort = new FluidSortComparer() };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment