Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
IsSorting Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : IsSorting Property




Gets a value indicating whether this RasterImageList is currently sorting.

Syntax

Visual Basic (Declaration) 
Protected ReadOnly Property IsSorting As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As Boolean
 
value = instance.IsSorting
C# 
protected bool IsSorting {get;}
Managed Extensions for C++ 
protected: __property bool get_IsSorting();
C++/CLI 
protected:
property bool IsSorting {
   bool get();
}

Return Value

true if this RasterImageList is currently sorting; otherwise false

Remarks

This RasterImageList will set the value of this property to true internally when the Sort method begins. When the Sort is completed, IsSorting is set back to false.

The Sort method involves removing and then re-adding items from the Items collection. Upon removal, the RasterImageList control usually disposes the image associated with the item. By using the IsSorting property, the control knows not to dispose of the image.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also