Edit

Bagikan melalui


LateBoundBitmapDecoder.Preview Property

Definition

Gets a BitmapSource that represents the global preview of this bitmap, if one is defined.

public:
 virtual property System::Windows::Media::Imaging::BitmapSource ^ Preview { System::Windows::Media::Imaging::BitmapSource ^ get(); };
public override System.Windows.Media.Imaging.BitmapSource Preview { [System.Security.SecurityCritical] get; }
public override System.Windows.Media.Imaging.BitmapSource Preview { get; }
[<get: System.Security.SecurityCritical>]
member this.Preview : System.Windows.Media.Imaging.BitmapSource
member this.Preview : System.Windows.Media.Imaging.BitmapSource
Public Overrides ReadOnly Property Preview As BitmapSource

Property Value

A BitmapSource that represents the global preview of the bitmap. If no preview is defined, or if the LateBoundBitmapDecoder is still downloading content, this property returns null. This property has no default value.

Attributes

Remarks

The BitmapSource that this property returns is frozen.

Applies to

See also