AdornerLayer.GetAdornerLayer returns null

Ribbon for WPF Forum

Posted 16 years ago by John Taylor
Version: 1.0.0330
I've a got a xaml with a Ribbon control and a custom canvas class that allows the user to drag / resize UI elements on the form.

when the ribbon is on the xaml, the AdornerLayer.GetAdornerLayer(this) returns null,
If I remove the ribbon, the code works...
any ideas as I need to add my own adornments to the UIElements on my canvas.

Cheers chaps

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Hi John,

Offhand I'm not sure. Could you possibly throw together a small sample project that shows this, ZIP it up and send it over? Thanks!

Actipro Software Support

The latest build of this product (v23.1.3) was released 20 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.