Storing WPF Image Resources

后端 未结 10 2021
眼角桃花
眼角桃花 2020-11-22 11:17

For a WPF application which will need 10 - 20 small icons and images for illustrative purposes, is storing these in the assembly as embedded resources the right way to go?

10条回答
  •  深忆病人
    2020-11-22 11:29

    If you're using Blend, to make it extra easy and not have any trouble getting the correct path for the Source attribute, just drag and drop the image from the Project panel onto the designer.

提交回复
热议问题