LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

AutoDisposeImages Property (RasterImageListItem)

Show in webframe





Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this RasterImageListItem.
Syntax
public bool AutoDisposeImages {get; set;}
'Declaration
 
Public Property AutoDisposeImages As Boolean
'Usage
 
Dim instance As RasterImageListItem
Dim value As Boolean
 
instance.AutoDisposeImages = value
 
value = instance.AutoDisposeImages

            

            
public:
property bool AutoDisposeImages {
   bool get();
   void set (    bool value);
}

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

See Also

Reference

RasterImageListItem Class
RasterImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.