ImageDrawing.ImageSource 屬性

定義

取得或設定影像的來源。

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

屬性值

ImageSource

映像的來源。 預設值為 null

備註

XAML Attribute Usage

<object ImageSource="imageUri"/>  

XAML 文字使用方式

如需 XAML 資訊,請參閱 ImageSource 類型。

XAML 值

imageUri
System.String

影像檔案的 URI。

相依性屬性資訊

識別碼欄位 ImageSourceProperty
中繼資料旗標 None

適用於