Can I use Silverlight's WriteableBitmap to save non-visible parts of my UI to a bitmap?
问题 Say I have some grid that you need to scroll down to see all of its lines, and I'm interested in saving some lines that are not currently visible as a bitmap. Is it feasible, or do I have to actually scroll down, "take a snapshot", and then scroll up again? This is a feasibility question, and thus I don't have code to share. 回答1: Yes. You can render any UIElement (and its children) to a writeable bitmap. When you do that you also specify a transform. That means you can display any part of the