LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

AutoDisposeImages Property (RasterImageListItem)






Gets or sets a value indicating whether to auto dispose the old image when a new image is set into this RasterImageListItem. .NET support Silverlight support
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 bool AutoDisposeImages {get; set;}
 get_AutoDisposeImages();
set_AutoDisposeImages(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageListItem Class
RasterImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.