HostingRenderTargetBitmap.Render Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Renders the UIElement object to the bitmap pointer specified in the constructor.
Namespace: System.Windows.Interop
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Function Render ( _
visual As UIElement _
) As Nullable(Of Rect)
public Nullable<Rect> Render(
UIElement visual
)
Parameters
- visual
Type: System.Windows..::.UIElement
The object to render.
Return Value
Type: System..::.Nullable<(Of <(Rect>)>)
The dirty rectangle.
Remarks
All renders are incremental. If the caller wants a full redraw, it must create a new HostingRenderTargetBitmap object.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone