BitmapIconSource.UriSource Eigenschaft

Definition

Dient zum Abrufen oder Festlegen des URI (Uniform Resource Identifier) der Bitmap, die als Symbolinhalt verwendet werden soll.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe Windows App SDK Namespaces).

public:
 property Uri ^ UriSource { Uri ^ get(); void set(Uri ^ value); };
Uri UriSource();

void UriSource(Uri value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
Uri UriSource();

void UriSource(Uri value);
public System.Uri UriSource { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public System.Uri UriSource { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
Public Property UriSource As Uri
<BitmapIconSource UriSource="uriString"/>

Eigenschaftswert

Der Uri der Bitmap, die als Symbolinhalt verwendet werden soll. Der Standardwert ist NULL.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Gilt für: