CroppedBitmap.Source Property


Gets or sets the source for the bitmap.

 property System::Windows::Media::Imaging::BitmapSource ^ Source { System::Windows::Media::Imaging::BitmapSource ^ get(); void set(System::Windows::Media::Imaging::BitmapSource ^ value); };
public System.Windows.Media.Imaging.BitmapSource Source { get; set; }
member this.Source : System.Windows.Media.Imaging.BitmapSource with get, set
Public Property Source As BitmapSource

Property Value

The source for the bitmap. The default value is null.


You can chain a CroppedBitmap to another BitmapSource by setting the Source property of the CroppedBitmap to the appropriate BitmapSource. For more information about chaining, see How to: Chain BitmapSource Objects Together.

Dependency Property Information

Identifier field SourceProperty
Metadata properties set to true None

Applies to