UIElementRenderer.Render Method
Note
This method is available only when developing for Windows Phone.
Renders a Silverlight UIElement into an XNA Framework Texture2D object.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
Syntax
public void Render ()
Remarks
When using Render, Silverlight will change the currently active RenderTarget2D and render to it. By default, RenderTarget2D contents are not preserved when switching between RenderTargets. Developers should take care to issue drawing commands to a RenderTarget without using Render in the middle of the set of drawing commands, as this will change the active rendertarget, discarding the contents of that render target by default.
Render sets the current active RenderTarget2D to null upon completion.
See Also
Reference
UIElementRenderer Class
UIElementRenderer Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone