Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
XamDiagram - Filling DiagramNode Background with Image
posted

Hello,

I am new to WPF and utilizing the XamDiagram with mostly VB code-behind operations to configure it as well as manipulating nodes. I am looking for a way to fill a DiagramNode with an image that is located in my project resource file (My.Resources.xxxx.png) in VB code-behind. It isn't clear to me how to properly load an image from the project resources and get it converted to a brush and fill the node.

Thanks,

Matt