Render Method
Collapse the table of content
Expand the table of content

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)

public Nullable<Rect> Render(
	UIElement visual
)

Parameters

visual
Type: System.Windows.UIElement
The object to render.

Return Value

Type: System.Nullable<Rect>
The dirty rectangle.

All renders are incremental. If the caller wants a full redraw, it must create a new HostingRenderTargetBitmap object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft