Xceed.Silverlight.ListBox.v2.0 Assembly > Xceed.Silverlight.ListBox Namespace > ListBox Class : SortDescriptions Property |
Public ReadOnly Property SortDescriptions As ObservableCollection(Of SortDescription)
Dim instance As ListBox Dim value As ObservableCollection(Of SortDescription) value = instance.SortDescriptions
public ObservableCollection<SortDescription> SortDescriptions {get;}
Whenever PropertyGroupDescription instances are added to GroupDescriptions, the data will be sorted in ascending order based on the PropertyName; however, a SortDescription object will not be added to the SortDescriptions collection.
<sllb:ListBox.SortDescriptions> <!-- Add a SortDescription for ShipCountry --> <s:SortDescription PropertyName="ShipCountry" Direction="Ascending" /> </sllb:ListBox.SortDescriptions>
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2