←Select platform

AutoDisposeImages Property

Summary

Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this RasterImageListItem.

Syntax

C#
VB
C++
public bool AutoDisposeImages { get; set; } 
  
Public Property AutoDisposeImages As Boolean 
public: 
property bool AutoDisposeImages { 
   bool get(); 
   void set (    bool ); 
} 

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.

Remarks

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.

Example

For XAML example, refer to AutoDisposeImages.

For C#/VB examples, refer to AutoDisposeImages.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly