BitmapIconSource.UriSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Uniform Resource Identifier (URI) of the bitmap to use as the icon content.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.BitmapIconSource.UriSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property Uri ^ UriSource { Uri ^ get(); void set(Uri ^ value); };
Uri UriSource();
void UriSource(Uri value);
public System.Uri UriSource { get; set; }
var uri = bitmapIconSource.uriSource;
bitmapIconSource.uriSource = uri;
Public Property UriSource As Uri
<BitmapIconSource UriSource="uriString"/>
Property Value
The Uri of the bitmap to use as the icon content. The default is null.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla