LateBoundBitmapDecoder Class

Defines a decoder that requires delayed bitmap creation such as asynchronous image downloads. This class cannot be inherited.

Namespace: System.Windows.Media.Imaging
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:

public sealed class LateBoundBitmapDecoder : BitmapDecoder
public final class LateBoundBitmapDecoder extends BitmapDecoder
public final class LateBoundBitmapDecoder extends BitmapDecoder
You cannot use this managed class in XAML.

A LateBoundBitmapDecoder is used when DelayCreation is specified. The Decoder property creates the necessary "real decoder" on an on-demand basis. All decoder properties return a null reference (Nothing in Visual Basic) while content is downloading.

A LateBoundBitmapDecoder can also be created when the system has an image that is asynchronously being downloaded locally. In this case, the decoder also returns a null reference (Nothing in Visual Basic) for properties until the image has been downloaded. The application can check the IsDownloading property or add a delegate for the DownloadCompleted event to monitor the download status. Furthermore, any frames obtained from a LateBoundBitmapDecoder while the image is downloading will return a width/height of 1,1 until the frames have finished downloaded.

BitmapFrame objects that are returned by this class are frozen and are therefore immutable.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions