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;} |
Property Value
true if this RasterImageList is currently sorting; otherwise falseThis 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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7