Leadtools.WinForms Namespace > RasterImageList Class : IsSorting Property |
protected bool IsSorting {get;}
'Declaration Protected ReadOnly Property IsSorting As Boolean
'Usage Dim instance As RasterImageList Dim value As Boolean value = instance.IsSorting
protected bool IsSorting {get;}
get_IsSorting();
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2