Why is WriteableBitmap.Render so Spoof

Don't know is SL bug, and my SL was not installed good or I don't understand its principles. In a page using Render screenshots, basically can correctly display a control and all child controls position. But if this function is encapsulated into a DLL, by the main program cited references, cut out of the graph all child controls are equivalent to the left in top, each must be the child controls, set the margin property to display correctly position.

Now make use of each control are set to the margin, and a new problem. A TextBlock, if it is read LTR okay, but if it is RTL, and go, get a night lost its margin what happened, how to calculate the. . .

The platform is WP7.1, hope WP experts to answer it, be indebted forever.

Started by Stan at December 07, 2016 - 8:04 AM

You mean the difference is only the package of DLL?

Posted by Nicholas at December 15, 2016 - 8:15 AM

Yes, you can try, anyway, in my computer is such, the same code. I don't know I was not installed good or belongs to SL bug...

Posted by Stan at December 17, 2016 - 8:24 AM