RenderTargetBitmap tips

Quite often,  I run into the “RenderTargeBitmap gave me an empty image” or “RenderTargetBitmap did not render my visual”..   Hint: this happens a lot to people putting stuff into StackPanels. The problem is that renderTargetBitmap is working at the Visual layer to render the visual and to do the rendering, it looks at the local…

2