Bewerken

Delen via


BitmapImage.SourceRect Property

Definition

Gets or sets the rectangle that is used as the source of the BitmapImage.

public:
 property System::Windows::Int32Rect SourceRect { System::Windows::Int32Rect get(); void set(System::Windows::Int32Rect value); };
public System.Windows.Int32Rect SourceRect { get; set; }
member this.SourceRect : System.Windows.Int32Rect with get, set
Public Property SourceRect As Int32Rect

Property Value

The rectangle that is used as the source of the BitmapImage. The default is Empty.

Remarks

Dependency Property Information

Identifier field SourceRectProperty
Metadata properties set to true None

Applies to