Visual Basic (Declaration) | |
---|---|
Public Property AutoDisposeImages As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImageListItem Dim value As Boolean instance.AutoDisposeImages = value value = instance.AutoDisposeImages |
C# | |
---|---|
public bool AutoDisposeImages {get; set;} |
Property Value
true if the Leadtools.RasterImage object in Image is automatically disposed when a new image is set; otherwise, false. Default value is true.For XAML example, refer to AutoDisposeImages.
For C#/VB examples, refer to AutoDisposeImages.
By default, whenever you set a new Leadtools.RasterImage object into the Image property, the old image (if any) is disposed. Set the value of this property to false to prevent disposing of the old image.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family