Gets or sets the sort order for items in the control.
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates the manner in which items are to be sorted.")]
public SortOrder Sorting {get; set;}
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Indicates the manner in which items are to be sorted.")>
Public Property Sorting As SortOrder
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Indicates the manner in which items are to be sorted.")]
public:
property SortOrder Sorting {
SortOrder get();
void set ( SortOrder );
}
One of the SortOrder values. The default is SortOrder.None.
The Sorting property allows you to specify whether or not items are sorted in the RasterImageList control. By default, no sorting is performed. When the Sorting property is set to SortOrder.Ascending or SortOrder.Descending, the items in the RasterImageList are sorted automatically in ascending alphabetical order (when the property is set to SortOrder.Ascending) or descending alphabetical order (when the property is set to SortOrder.Descending). You can use this property to automatically sort items that are displayed in your RasterImageList control to make it easier for users to find items when a large number of items are available. By default items are sorted alphabetically according to the Text property of each item.
After you change the Sorting property, call the Sort method to re-sort the items in the control.
The Sorting property is dependent on the value of the Sorter property.
You can setup your own sorting by providing a custom System.Collections.IComparer object using the Sorter property.
For an example, refer to Sort.
Products |
Support |
Feedback: Sorting Property (RasterImageList) - Leadtools.WinForms |
Introduction |
Help Version 19.0.2017.3.22
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.