views:

24

answers:

1

Can I get a Geometry of a Visual/UIElement/FrameworkElement and use DrawingContext.DrawDrawing ?

Currently I am using a RenderTargetBitmap, draw my Visual to it and use DrawingContext.DrawImage .

A: 

Can you expand on what you are trying to achieve? I was playing around with an adorner today trying to draw a control from the OnRender method into the DrawingContext. I quit that was simply able to add the control to my Adorner's Visual and Logical tree; this made the control render itself and be completely functional.

siz