ImageDrawing.ImageSource Propriété

Définition

Obtient ou définit la source de l'image.

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

Valeur de propriété

Source de l’image. La valeur par défaut est null.

Remarques

Utilisation des attributs XAML

<object ImageSource="imageUri"/>

Utilisation du texte XAML

Pour plus d’informations XAML, consultez le ImageSource type.

Valeurs XAML

imageUriSystem.String

URI du fichier image.

Informations sur les propriétés de dépendance

Élément Valeur
Champ d’identificateur ImageSourceProperty
Indicateurs de métadonnées None

S’applique à