Show / Hide Table of Contents

Enum BitmapCreateOptions

Specifies initialization options for a bitmap image.

Namespace: System.Windows.Media.Imaging
Assembly: OpenSilver.dll
Syntax
public enum BitmapCreateOptions

Fields

Name Description
BackgroundCreation

Causes a BitmapSource to be initialized as soon as it is declared. This option uses the image cache for previously used URIs. If an image is not in the image cache, the image will be downloaded and decoded on a separate background thread.

DelayCreation

Causes a BitmapSource object to delay initialization until it is necessary. This is useful when dealing with collections of images. This is the default value of the CreateOptions property in Silverlight and Silverlight for Windows Phone.

IgnoreImageCache

Initializes images without using an existing image cache. Any existing entries in the image cache are replaced, even if they share the same URI. This option should only be selected when images in a cache need to be refreshed.

None

No initialization options are specified. This is the NOT the default value for the CreateOptions property in Silverlight or Silverlight for Windows Phone (DelayCreation is the default).

  • Improve this Doc
  • View Source