UserControl in Ribbon Unable to create Instance

Ribbon for WPF Forum

Posted 11 years ago by David Sherwood
Avatar
When I reference my UserControl as content to a PopupButton in my Ribbon, the Designer says it can’t create an instance of it even though it works fine at run time.
My UserControl is a ListBox where I explicitly define all of the ListBoxItems in Xaml code. Each Item contains ribbon:Buttons and ribbon:ComboBox’s.
To get around the problem, I reference instead a property in the behind code, which creates the instance. The Designer is happy and I’m happy now!

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
David,

Just FYI, I don't believe this is anything our controls cause or can fix. I think that is just how the VS designer works in general. I believe if your UserControl was defined in a separate project from the one with the Window you are designing it would show up.


Actipro Software Support

The latest build of this product (v2019.1 build 0684) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.