sort LeftMainContent

This commit is contained in:
Mahdi Hosseini committed 2019-01-10 09:24:50 +03:30
1 parent 7417a1715b
commit 9b827cba3c
2 files changed
+6 -3

No files matched your search

@@ -1,4 +1,5 @@
using System.Windows.Controls;
using System.ComponentModel;
using System.Windows.Controls;
// ReSharper disable once CheckNamespace
namespace HandyControlDemo.UserControl
@@ -11,6 +12,8 @@ namespace HandyControlDemo.UserControl
public LeftMainContent()
{
InitializeComponent();
listStyle.Items.SortDescriptions.Add(new SortDescription("Content", ListSortDirection.Ascending));
listControl.Items.SortDescriptions.Add(new SortDescription("Content", ListSortDirection.Ascending));
}
private void TabControl_OnSelectionChanged(object sender, SelectionChangedEventArgs e)