BitmapImage.SourceRect 屬性

定義

取得或設定當成 BitmapImage 之來源的矩形。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

屬性值

當成 BitmapImage 之來源的矩形。The rectangle that is used as the source of the BitmapImage. 預設為 EmptyThe default is Empty.

備註

相依性屬性資訊Dependency Property Information

識別碼欄位Identifier field SourceRectProperty
中繼資料屬性設定為trueMetadata properties set to true None

適用於