←Select platform

SortOrder Enumeration

Summary

Specifies how items in a ImageList are sorted.

Syntax

C#
VB
C++
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

ValueMemberDescription
0None

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.

1Ascending

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

2Descending

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

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.

Example

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly