LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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;}
C++/CLI 
protected:
property bool IsSorting {
   bool get();
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also