Visual Basic (Declaration) | |
---|---|
Protected ReadOnly Property IsSorting As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected bool IsSorting {get;} |
Return 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family