Hi Wisej,
I see NavigationBar.UserAvatar using image resource .
How to set NavigationBar.UserAvatar by Image.FromFile or Image.FromStream?
Thank you.
Hi,
NavigationBar.UserAvatar takes a string argument that’s a URL.
You can use the file’s path on the system, a web URL, or a base64 encoded image, something like:
Convert.ToBase64String(File.ReadAllBytes(imageFilepath));
Hope this helps!
Best,
Levie