-
-
Notifications
You must be signed in to change notification settings - Fork 337
Xaml Tips and Tricks
Curtis Wensley edited this page Jan 21, 2019
·
4 revisions
Some useful hints when using Eto's Xaml (.xeto) for defining your UI:
- Add your image(s) to the project
- Set them as embedded resource
- In the .xeto file, use the
{Resource ...}
markup extension:
<ImageView Image="{Resource MyAssembly.Path.To.Image.png, MyAssembly}" />
note: you can omit the assembly at the end if your code behind class is in the same assembly.