public ListViewSorter(ListView listView, DefaultHeaderSortDirections defaultHeaderSortDirections, DataTemplate upArrow, DataTemplate downArrow) { this.listView = listView; this.defaultHeaderSortDirections = defaultHeaderSortDirections; this.upArrow = upArrow; this.downArrow = downArrow; }
public ListViewSorter(ListView listView, DefaultHeaderSortDirections defaultHeaderSortDirections) : this(listView, defaultHeaderSortDirections, (DataTemplate)Application.Current.Resources["HeaderTemplateArrowUp"], (DataTemplate)Application.Current.Resources["HeaderTemplateArrowDown"]) { }