Leadtools.Windows.Controls Namespace : SortOrder Enumeration |
public enum SortOrder : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum SortOrder Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As SortOrder
public enum class SortOrder : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | 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. |
0x00000001 | Ascending |
Sort the items in the list in ascending order based on their IImageListItem.Text values. |
0x00000002 | Descending |
Sort the items in the list in descending order based on their IImageListItem.Text values. |
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.
For C#/VB examples, refer to ImageList.Sort.
System.Object
System.ValueType
System.Enum
Leadtools.Windows.Controls.SortOrder