LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SortOrder Enumeration
See Also  
Leadtools.Windows.Controls Namespace : SortOrder Enumeration



Specifies how items in a ImageList are sorted. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Enum SortOrder 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As SortOrder
C# 
public enum SortOrder : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class SortOrder : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
Ascending

Sort the items in the list in ascending order based on their IImageListItem.Text values.

Descending

Sort the items in the list in descending order based on their IImageListItem.Text values.

None

Unsort the items in the list back to the order they were added. This is not supported in the Silverlight version of this control and calling the ImageList.Sort method with this value will not change the order of the items in the list.

Example

For C#/VB examples, refer to ImageList.Sort.

Remarks

The SortOrder enumerations is used with the ImageList.Sort method to sort the items in the list. The ImageList control will use each item's IImageListItem.Text property to determine its position in the list.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Controls.SortOrder

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also