Share via


BitmapIconSource.UriSource Propiedad

Definición

Obtiene o establece el identificador uniforme de recursos (URI) del mapa de bits que se va a usar como contenido del icono.

Esta documentación se aplica a WinUI 2 para UWP (para WinUI en la SDK de Aplicaciones para Windows, consulta los espacios de nombres SDK de Aplicaciones para Windows).

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"/>

Valor de propiedad

Uri del mapa de bits que se va a usar como contenido del icono. El valor predeterminado es NULL.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Se aplica a