BitmapImage.SourceRect 屬性

定義

取得或設定當成 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

屬性值

當成 BitmapImage 之來源的矩形。 預設為 Empty

備註

相依性屬性資訊

識別碼欄位 SourceRectProperty
設定為 的中繼資料屬性 true

適用於