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 XAML

<object ImageSource="imageUri"/>

Użycie tekstu XAML

Aby uzyskać informacje dotyczące języka XAML, zobacz ImageSource typ.

Wartości XAML

imageUriSystem.String

Identyfikator URI pliku obrazu.

Informacje o właściwości zależności

Przedmiot Wartość
Pole identyfikatora ImageSourceProperty
Flagi metadanych None

Dotyczy