CroppedBitmap.Source Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the source for the bitmap.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public BitmapSource Source { get; set; }

Property Value

Type: System.Windows.Media.Imaging.BitmapSource

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.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top