Edit

Share via


BitmapDecoder.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 virtual System.Windows.Media.Imaging.BitmapSource Preview { [System.Security.SecurityCritical] get; }
public virtual 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 Overridable ReadOnly Property Preview As BitmapSource

Property Value

A BitmapSource that represents the global preview of the bitmap. If no preview is defined, this property returns null. This property has no default value.

Attributes

Remarks

The BitmapSource returned by this property is frozen.

Applies to

See also