Udostępnij przez


ImageDrawing.ImageSource Właściwość

Definicja

Pobiera lub ustawia źródło obrazu.

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

Wartość właściwości

Źródło obrazu. Wartość domyślna to null.

Uwagi

Użycie atrybutu języka XAML

<object ImageSource="imageUri"/>  

Użycie tekstu w języku XAML

Aby uzyskać informacje o języku XAML, zobacz ImageSource typ.

Wartości XAML

imageUri
System.String

Identyfikator URI pliku obrazu.

Informacje dotyczące właściwości zależności

Pole identyfikatora ImageSourceProperty
Flagi metadanych None

Dotyczy