Email: Password:       Forgot Password 
    .netCodeSG
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.
 
TECHNOLOGIES:
How to sort items in a ListBox in WPF..?

Posted On: 27/09/2012 08:18:21

// Sort by the Content property

myItemsControl.Items.SortDescriptions.Add(new SortDescription("My Item", ListSortDirection.Ascending));


To Clear Any sorting use:

myItemsControl.Items.SortDescriptions.Clear();

MOST VIEWED QUESTION:
 
         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us