Exportar (0) Imprimir
Expandir todo

LateBoundBitmapDecoder (Clase)

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

Espacio de nombres: System.Windows.Media.Imaging
Ensamblado: PresentationCore (en presentationcore.dll)
Espacio de nombres XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public sealed class LateBoundBitmapDecoder : BitmapDecoder
public final class LateBoundBitmapDecoder extends BitmapDecoder
public final class LateBoundBitmapDecoder extends BitmapDecoder
No se puede utilizar esta clase administrada en 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 referencia null (Nothing en 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 referencia null (Nothing en 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.

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.Media.Imaging.BitmapDecoder
      System.Windows.Media.Imaging.LateBoundBitmapDecoder

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft