Specifies how items in a ImageList are sorted.
public enum SortOrder
Public Enum SortOrder
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
public enum class SortOrder : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0 | 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. |
1 | Ascending |
Sort the items in the list in ascending order based on their IImageListItem.Text values. |
2 | 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET