Bind Image Name to resource

kiwis

New member
Joined
Jan 26, 2025
Messages
4
Programming Experience
Beginner
I have a image name myLogo.svg being provided via an external source. myLogo.svg is also in my resources folder, images > logos

How can I bind the variable myLogo which will be myLogo.svg to the file in a specific folder in my resources folder?
 
THESE MIGHT BE USEFUL:
 
In general, you initialize or set a variable, and then you bind to the variable in your UI. In the case of two way binding, then any updates to the UI also update the variable. Do you need help with the initialization or setting of the variable? Or you need help with writing the XAML to bind to the variable? I think the link provided by @Rythorian above cover a little bit of both.
 
Back
Top Bottom