ImageDrawing.ImageSource Properti

Definisi

Mendapatkan atau mengatur sumber gambar.

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

Nilai Properti

Sumber gambar. Nilai defaultnya adalah null.

Keterangan

Penggunaan Atribut XAML

<object ImageSource="imageUri"/>

Penggunaan Teks XAML

Untuk informasi XAML, lihat jenisnya ImageSource .

Nilai XAML

imageUriSystem.String

URI file gambar.

Informasi Properti Dependensi

Barang Nilai
Bidang Pengidentifikasi ImageSourceProperty
Bendera Metadata None

Berlaku untuk